Guest User

SetTimer /w Player-id

a guest
Aug 10th, 2012
41
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. forward ping(playerid);
  2.  
  3. public OnPlayerConnect(playerid)
  4. {
  5. SetTimer("ping",250,true);
  6. return 1;
  7. }
  8. public ping(playerid)
  9. {
  10. if(GetPlayerPing(playerid,ping) >= 600)return Kick(playerid);
  11. }
Advertisement
Add Comment
Please, Sign In to add comment