Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.72 KB | None | 0 0
  1. Callback_PlayerKilled(eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, vDir, sHitLoc, psOffsetTime, deathAnimDuration)
  2. {
  3.     self endon("spawned");
  4.     self notify("killed_player");
  5.    
  6.     self.money += 100;
  7.    
  8.     ts123 = spawn("script_model", self.origin);
  9.     ts123 setModel(game["tombstone"]);
  10.     thread rotateMe(ts123);
  11.    
  12.     if(sHitLoc == "head" && sMeansOfDeath != "MOD_HEAD_SHOT")
  13.         self iprintlnbold(attacker.name + "^7 Made a ^1H^7eadshot at : " + self.name);
  14.    
  15.     if(self.money == 1000)
  16.     {
  17.     self.health = 1000;
  18.     wait(1);
  19.     self iprintlnbold("^1M^7ore Health,");
  20.     self iprintln(self.health);
  21.     }
  22.    
  23.     if(self.money > 1)
  24.     {
  25.         iPrintLnBold("^2$$$ ^7: ^0 " + self.money + "^7");
  26.     }
  27.  
  28.     if(self.sessionteam == "spectator")
  29.         return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement