Advertisement
Guest User

Untitled

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