Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(reason == 38 || reason == 9 || reason == 17 || reason == 18 || reason == 35 || reason == 36 || reason == 37 && GetPlayerState(killerid) != PLAYER_STATE_DRIVER)
- {
- new kickname[25];
- if(IsPlayerConnected(killerid))
- {
- if(PlayerInfo[killerid][pAdmin] == 0)
- {
- GetPlayerName(killerid, kickname, sizeof(kickname));
- format(string, sizeof(string), "AdmCmd: %s was kicked by AdmBot. Reason: Weapon hack.", kickname);
- SendClientMessageToAll(COLOR_LIGHTRED, string);
- Kick(killerid);
- }
- }
- }
- if(GetPlayerState(killerid) == PLAYER_STATE_DRIVER && !IsAPlane(currentveh))
- {
- GetPlayerName(playerid,name,sizeof(name));
- new kill[25];
- GetPlayerName(killerid,kill,sizeof(kill));
- format(string, sizeof(string), "Notice: {FFFFFF}%s has been killed by %s by drive-by.",name, kill);
- ABroadCast(COLOR_RED2,string,1);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement