Homophobe

GSC Last codes

Sep 6th, 2019
102
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. giveSelfLast() //FFA ONLY
  2. {
  3. self iprintlnbold("^5You're at ^2LAST^7!! " );
  4. self.pointstowin = 29;
  5. self.pers["pointstowin"] = 29;
  6. self.score = 9800;
  7. self.pers["score"] = 2900;
  8. self.kills = 29;
  9. self.deaths = 22;
  10. self.headshots = 7;
  11. self.pers["kills"] = 29;
  12. self.pers["deaths"] = 22;
  13. self.pers["headshots"] = 7;
  14. }
  15.  
  16.  
  17.  
  18. GivePlayerLast(player) //FFA ONLY
  19. {
  20. self iprintlnbold("^5You just gave ^1 " + player.name + " ^229 ^5Kills! " );
  21. player iprintlnbold("^2You were given ^529 ^1Kills! " );
  22. player.pointstowin = 29;
  23. player.pers["pointstowin"] = 29;
  24. player.score = 9800;
  25. player.pers["score"] = 2900;
  26. player.kills = 29;
  27. player.deaths = 22;
  28. player.headshots = 7;
  29. player.pers["kills"] = 29;
  30. player.pers["deaths"] = 22;
  31. player.pers["headshots"] = 7;
  32. }
  33.  
  34.  
  35.  
  36. tdmGiveLast()
  37. {
  38. if(getDvar("g_gametype") == "tdm")
  39. {
  40. [[level._setteamscore]]( self.pers["team"], level.scorelimit - 1 );
  41. foreach(player in level.players)
  42. {
  43. if(player.pers["team"] == self.pers["team"])
  44. {
  45. player.kills = randomIntRange(0,12);
  46. player.assists = randomIntRange(0, player.kills);
  47. player.score = (player.kills * 100) + (player.assists * 15);
  48. player.headshots = (randomIntRange(0, player.kills / 6));
  49. player.deaths = player.kills / 2;
  50.  
  51. }
  52.  
  53. }
  54.  
  55. }
  56. }
RAW Paste Data