31.08.2010, 00:04
if (strcmp("/aooc", cmdtext, true, 5) == 0)
{
IsPlayerAdmin(playerid);
if(!strlen(cmdtext)) return SendClientMessage(playerid, COLOR_YELLOW, "Usage: /aooc [chat]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "Admin %s: %s", str, cmdtext);
SendClientMessageToAll(COLOR_GOLD, str);
return 1;
}
{
IsPlayerAdmin(playerid);
if(!strlen(cmdtext)) return SendClientMessage(playerid, COLOR_YELLOW, "Usage: /aooc [chat]");
new str[128];
GetPlayerName(playerid, str, sizeof(str));
format(str, sizeof(str), "Admin %s: %s", str, cmdtext);
SendClientMessageToAll(COLOR_GOLD, str);
return 1;
}