Advertisement
Guest User

Untitled

a guest
Oct 8th, 2018
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. if(reason == 38 || reason == 9 || reason == 17 || reason == 18 || reason == 35 || reason == 36 || reason == 37 && GetPlayerState(killerid) != PLAYER_STATE_DRIVER)
  2. {
  3. new kickname[25];
  4. if(IsPlayerConnected(killerid))
  5. {
  6. if(PlayerInfo[killerid][pAdmin] == 0)
  7. {
  8. GetPlayerName(killerid, kickname, sizeof(kickname));
  9. format(string, sizeof(string), "AdmCmd: %s was kicked by AdmBot. Reason: Weapon hack.", kickname);
  10. SendClientMessageToAll(COLOR_LIGHTRED, string);
  11. Kick(killerid);
  12. }
  13. }
  14. }
  15.  
  16. if(GetPlayerState(killerid) == PLAYER_STATE_DRIVER && !IsAPlane(currentveh))
  17. {
  18. GetPlayerName(playerid,name,sizeof(name));
  19. new kill[25];
  20. GetPlayerName(killerid,kill,sizeof(kill));
  21. format(string, sizeof(string), "Notice: {FFFFFF}%s has been killed by %s by drive-by.",name, kill);
  22. ABroadCast(COLOR_RED2,string,1);
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement