Advertisement
Guest User

Untitled

a guest
Jul 1st, 2012
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.32 KB | None | 0 0
  1. #include <a_samp>
  2.  
  3. public OnPlayerSpawn(playerid)
  4. {
  5.     SetPVarInt(playerid,"K_Times",0);
  6.     return 1;
  7. }
  8.  
  9. public OnPlayerDeath(playerid, killerid, reason)
  10. {
  11.     SetPVarInt(playerid,"K_Times",GetPVarInt(playerid,"K_Times") + 1);
  12.     if(GetPVarInt(playerid,"K_Times") > 1) return Kick(playerid);
  13.     return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement