Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public OnPlayerDeath(playerid, killerid, reason)
- {
- if(killerid != INVALID_PLAYER_ID)
- {
- switch(reason)
- {
- case 1,2,4,5,6,7,8,9,10,11,12,13,14,15,37,38,41,39,42,43,44:
- {
- if(PlayerInfo[killerid][pAdmin] < 3) {
- new sjat,minjuta,sjekunda;
- gettime(sjat,minjuta,sjekunda);
- new stringer[164];
- format(stringer, 164, "~r~(AC - %d:%d:%d): ~w~%s(%d) moguc kill hack | GUN ID: %d!",sjat,minjuta,sjekunda,GetName(killerid), killerid,reason);
- for(new cac = GetPlayerPoolSize(); cac >= 0; cac --) if (IsPlayerConnected(cac)) sendAltChatMessage(cac, stringer);
- ac_Kick(killerid);
- }
- }
- }
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment