02.06.2011, 17:05
pawn Код:
dcmd_o(playerid, params[])
{
if(pInfo[playerid][pAdmin] > 2 || tOOC == 1)
{
new
iStr[128];
if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid,0xFF634700, "[SYNTAX]:{FFFFFF} /o [message]");
format(iStr, sizeof(iStr), "(( %s: %s ))", NUsN(playerid), params);
return SendClientMessageToAll(0xFFFFFF00, iStr);
}
else return SendClientMessage(playerid,0xFF634700,"[ERROR]:{FFFFFF} You are either not a level 2 admin or OOC is turned off!");
}