11.11.2015, 01:01
Quote:
If you have nothing else in the function OnPlayerCommandPerformed, you can use the ternary.
PHP Code:
|
Code:
format(szString, sizeof(szString), "[CMD]: %s[%d] Has Used Command: %s", PlayerName(playerid), playerid, cmdtext); for (new a = 0; a < MAX_PLAYERS; a++) if (IsPlayerAdmin(a)) SendClientMessage(a, 0xF6BB0AA, szString);