Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. CMD:a(playerid, params[])
  2. {
  3.  
  4. if(pInfo[playerid][pAdmin] < 1)
  5. return SendClientMessage(playerid, COLOR_RED, "Nemas dozvolu da koristis ovu komandu.");
  6.  
  7. if(isnull(params))
  8. return SendClientMessage(playerid, -1, "Koristenje: /a [tekst]");
  9.  
  10. if(strlen(params) > 64)
  11. {
  12. SendAdminMessage(COLOR_SKYBLUE, "[%d] Admin %s: %.64s ...", pInfo[playerid][pAdmin], PlayerName(playerid), params);
  13. SendAdminMessage(COLOR_SKYBLUE, "[%d] Admin %s: ... %s", pInfo[playerid][pAdmin], PlayerName(playerid), params[64]);
  14.  
  15. }
  16.  
  17. else
  18. {
  19. SendAdminMessage(COLOR_SKYBLUE, "[%d] Admin %s: %s ", pInfo[playerid][pAdmin], PlayerName(playerid), params);
  20. }
  21.  
  22. return 1;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement