Advertisement
Guest User

My Whole onPlayerSpawned

a guest
Jul 9th, 2013
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.03 KB | None | 0 0
  1. onPlayerSpawned()
  2. {
  3. self endon( "disconnect" );
  4. for( ; ; )
  5. {
  6. self waittill( "spawned_player" );
  7.  
  8. notifyData = spawnstruct();
  9. notifyData.iconName = "rank_prestige7"; //Icon, 7th prestige
  10. notifyData.titleText = "Krayzee Knifer Mod"; //Line 1
  11. notifyData.notifyText = "V1.0 by NoHope4U"; //Line 2
  12. notifyData.notifyText2 = "Just Knife It! xD"; //Line 3
  13. notifyData.glowColor = (0.3, 0.6, 0.3); //RGB Color array divided by 100
  14. notifyData.sound = "mp_level_up"; //Sound, level up sound here
  15. self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
  16.  
  17. wait ( 0.50 ); //wait to announce next message
  18.  
  19. self thread maps\mp\gametypes\_hud_message::hintMessage("^2PRESS 'N' FOR NIGHT VISION!");
  20.  
  21. self takeAllWeapons(); //takes all your weapons
  22. self clearPerks(); //removes all your perks
  23. self thread TutorialThread(); //execute the thread we wanted to make
  24. self thread Nightvision(); //execute a custom nightvision thread made by pyrozombie on MPGH
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement