Advertisement
Codigos

Anti Drive-By

Oct 21st, 2013
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.19 KB | None | 0 0
  1. public OnPlayerDeath(playerid, killerid)
  2. {
  3.     if(IsPlayerInAnyVehicle(killerid) && GetPlayerState(playerid) == PLAYER_STATE_ONFOOT)
  4.     {
  5.         Kick(killerid);
  6.     }
  7.     return 1;
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement