Advertisement
alexbegt

Untitled

Sep 24th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. function autoexec init()
  2. {
  3. thread powerup_spawn();
  4. }
  5.  
  6. function powerup_spawn()
  7. {
  8. powerup_spawn_location = struct::get( "powerup_spawn_location", "targetname" );
  9.  
  10. origin = powerup_spawn_location.origin;
  11.  
  12. drops = array("full_ammo", "fire_sale", "insta_kill", "double_points");
  13.  
  14. while(!level.passed_introscreen)
  15. WAIT_SERVER_FRAME;
  16.  
  17. level thread zm_powerups::specific_powerup_drop( array::random( drops ), origin, undefined, undefined, undefined, GetPlayers()[0], true );
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement