Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CMD:a(playerid, params[])
- {
- if(pInfo[playerid][pAdmin] < 1)
- return SendClientMessage(playerid, COLOR_RED, "Nemas dozvolu da koristis ovu komandu.");
- if(isnull(params))
- return SendClientMessage(playerid, -1, "Koristenje: /a [tekst]");
- if(strlen(params) > 64)
- {
- SendAdminMessage(COLOR_SKYBLUE, "[%d] Admin %s: %.64s ...", pInfo[playerid][pAdmin], PlayerName(playerid), params);
- SendAdminMessage(COLOR_SKYBLUE, "[%d] Admin %s: ... %s", pInfo[playerid][pAdmin], PlayerName(playerid), params[64]);
- }
- else
- {
- SendAdminMessage(COLOR_SKYBLUE, "[%d] Admin %s: %s ", pInfo[playerid][pAdmin], PlayerName(playerid), params);
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement