Advertisement
Guest User

Untitled

a guest
Jun 17th, 2014
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. main()
  2. {
  3. thread onSpawn();
  4.  
  5. level.trailfx = loadFX( "smoke/wall_explosion_smoke" );
  6.  
  7. level waittill("round_started");
  8. players = GetEntArray("player","classname");
  9. for(i=0;i<players.size;i++)
  10. {
  11. players[i] Suicide();
  12. players[i] iPrintlnBold("^3WTF are you doing ^9" + players[i].name + "^3?!!!");
  13. players[i] sayAll("I must have been born on the highway because that is where most of the accidents happen...");
  14. }
  15. }
  16.  
  17. onSpawn()
  18. {
  19. while(1)
  20. {
  21. level waittill("player_spawn", player); // Not sure if it's the correct notify we're waiting for #iPod :dave:
  22. player thread giveLoadout();
  23. player thread trail();
  24. }
  25. }
  26.  
  27. giveLoadout()
  28. {
  29. self TakeAllWeapons();
  30. self GiveWeapon("dildo_gun");
  31. self GiveMaxAmmo("dildo_gun");
  32. wait .01;
  33. self SwitchToWeapon("dildo_gun");
  34. }
  35.  
  36. trail()
  37. {
  38. while( isAlive( self ) )
  39. {
  40. playFX( level.trailfx, self.origin )
  41. wait 0.1;
  42. }
  43. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement