02.06.2011, 16:06
It's pretty much any command where you can place text.
Here's one example:
Here's one example:
Quote:
dcmd_o(playerid, params[]) { if(pInfo[playerid][pAdmin] > 2 || tOOC == 1) { new text[256],strtext[256]; if(sscanf(params,"s",text)) return SendClientMessage(playerid,0xFF634700,"[SYNTAX]:{FFFFFF} /o [message]"); format(strtext,129,"(( %s: %s ))",NUsN(playerid),text); SendClientMessageToAll(0xFFFFFF00, strtext); } else SendClientMessage(playerid,0xFF634700,"[ERROR]:{FFFFFF} You are either not a level 2 admin or OOC is turned off!"); return 1; } |