Guest User

Chat Kill

a guest
Aug 31st, 2016
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. new bool:ChatKill[MAX_PLAYERS];
  2.  
  3. OnPlayerConnect
  4. ChatKill[playerid] = false;
  5.  
  6. Sua Stock
  7. stock SendDeathMessageToAll(killerid,deadid,reason)
  8. {
  9. for(new i = 0; i < MAX_PLAYERS; ++i)
  10. {
  11. if(IsPlayerConnected(i) && ChatKill[i])
  12. SendDeathMessageForPlayer(i,killerid,deadid,reason);
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment