[Release] Give A Powerup On Certain Round Start
-
Put this under onPlayerSpawned()
self thread certainroundexample(); // you can change this to your liking its my exampleThen 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
-
Thank you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login