[Release] Give A Powerup On Certain Round Start
-
Put this under onPlayerSpawned()
self thread certainroundexample(); // you can change this to your liking its my example
Then put this anywhere in your script
certainroundexample() { if(level.round_number >= 1) // You can change the rounds you want it to give the power up { foreach(player in level.players) { level thread maps\mp\zombies\_zm_powerups::double_points_powerup(self,player); player thread maps\mp\zombies\_zm_powerups::powerup_vo("double_points"); } } }
If you want it on more than 1 certain round add this code instead of the top one
certainroundex() { if(level.round_number >= 1) { foreach(player in level.players) { level thread maps\mp\zombies\_zm_powerups::double_points_powerup(self,player); player thread maps\mp\zombies\_zm_powerups::powerup_vo("double_points"); } } else if(level.round_number >= 5) { level thread maps\mp\zombies\_zm_powerups::double_points_powerup(self,player); player thread maps\mp\zombies\_zm_powerups::powerup_vo("double_points"); } }
and you can keep adding the "else if" to keep on adding powerups on certain rounds.
this has been tested and it worksIf you have any questions add my discord: Ashton Biehl#6969