Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function autoexec init()
- {
- thread powerup_spawn();
- }
- function powerup_spawn()
- {
- powerup_spawn_location = struct::get( "powerup_spawn_location", "targetname" );
- origin = powerup_spawn_location.origin;
- drops = array("full_ammo", "fire_sale", "insta_kill", "double_points");
- while(!level.passed_introscreen)
- WAIT_SERVER_FRAME;
- level thread zm_powerups::specific_powerup_drop( array::random( drops ), origin, undefined, undefined, undefined, GetPlayers()[0], true );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement