Guest User

Untitled

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