Advertisement
Guest User

Untitled

a guest
Feb 24th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. CMD:a(playerid, params[])
  2. {
  3. new SMG[100];
  4. if(sscanf(params, "s[100]", SMG)) return SCM(playerid, COR_SSCANF, "(USO CORRETO):{FFFFFF} /A [MENSAGEM].");
  5.  
  6. Loop(i, MAX_PLAYERS)
  7. {
  8. if(IsPlayerConnected(i) && pDados[i][pAdmin] > 0)
  9. {
  10. SendFormattedMessage(playerid, COR_ADMIN, "(CHAT ADMIN): %s, %s diz: %s.", GetCargoNome[pDados[playerid][pAdmin]], NomeJogador(playerid), SMG);
  11. }
  12. }
  13. return true;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement