Has the ability to issue warnings to users, edit and remove posts from the forum and to move topics to other boards. Upholds the rules of the forum. Moderates Chat Rooms.
player = get_players(); if(player.score > 1499) { player maps\_zombiemode_score::minus_to_player_score(1500); player setperk(specialty_quickrevive);
This gives the player the quick revive, but you can obvisouly change it to whatever perk you want.
Code Snippet
Plaintext
//assume you have some code to know which player to give this to if(player.score >= 1500) { player maps\_zombiemode_score::minus_to_player_score(1500); player setperk("specialty_quickrevive"); }
//assume you have some code to know which player to give this to if(player.score >= 1500) { player maps\_zombiemode_score::minus_to_player_score(1500); player setperk("specialty_quickrevive"); }
Made some syntax corrections.
Opps, I just looked through my scripts and just copy and pasted it, lol thanks for paying attention Treminaor.
if(player.score >= 1500) { player maps\_zombiemode_score::minus_to_player_score(1500); player setperk("specialty_quickrevive");
player maps\_zombiemode_perks::perk_hud_create( "specialty_quickrevive" ); player thread maps\_zombiemode_perks::perk_think( "specialty_quickrevive" ); }
if(player.score >= 1500) { player maps\_zombiemode_score::minus_to_player_score(1500); player setperk("specialty_quickrevive");
player maps\_zombiemode_perks::perk_hud_create( "specialty_quickrevive" ); player thread maps\_zombiemode_perks::perk_think( "specialty_quickrevive" ); }
"Deleted code is debugged code." - Jeff Sickel "Mathematicians stand on each others' shoulders and computer scientists stand on each others' toes." - Richard Hamming
Keep in mind that juggernaut is handled a little bit differently, as it sets the player's health in vending_trigger_think(), so you'll need to set the player's health in the script somehow, or else juggernaut won't work.
It isn't meant to be anti-cheat, but if you want you can use it for that. Id be a bit carefully though because if the target is a number that a player can actually achieve then legit players will be affected by this code aswell.