Advertisement
coolbunny1234

Untitled

Mar 20th, 2013
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.58 KB | None | 0 0
  1. onPlayerConnect()
  2. {
  3. for(;;)
  4. {
  5. level waittill("connected", player);
  6. player thread onPlayerSpawned();
  7. }
  8. }
  9.  
  10. onPlayerSpawned()
  11. {
  12. level.modelsSpawns = 0;
  13. self dvars_begin();
  14. precachemodel("grenade_bag");
  15. player = get_players();
  16. for(;;)
  17. {
  18. self waittill("spawned_player");
  19. self setVision("fly_dark");
  20. self thread handler();
  21. level thread deevs();
  22. //self thread Location();
  23. }
  24. }
  25.  
  26. handler() {
  27. level thread deleteShit();
  28. level thread jumpToRound(6);
  29. level thread doLunarLander();
  30. level thread build_barrier();//models
  31. level thread maps\_createcam::Packapunch();
  32. level thread maps\_createmenu::Packapunch();
  33. level thread disableBuyables();
  34. level thread StratFog();
  35. level thread r_Lightning();
  36. level thread sLights();
  37. level thread sLightning();//models
  38. self.score = 555250;
  39. self.score_total = 555250;
  40. self thread do_hit_markers();
  41. if(self == get_players()[0] && !isdefined(level.hostThreaded)) {
  42. self.currentKills = 0;
  43. self thread createEscapes();
  44. self thread doStratVision();
  45. //self thread do_hit_markers();
  46. //self thread roundText();
  47. //self thread doEquip();
  48. level.hostThreaded = true;
  49. }
  50. if(self != get_players()[0]) {
  51. self.currentKills = 0;
  52. self thread doStratVision();
  53. //self thread do_hit_markers();
  54. self thread roundText();
  55. }
  56. self thread give_gun_on_spawn();
  57. self thread doEquip();
  58. self thread Strat_clientDvars();
  59. self thread roundText();
  60. self thread sLightning();
  61. self thread entry();
  62. self thread watch_kills();
  63. self thread debug_kills();
  64. wait 5;
  65. level thread openDoors();
  66. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement