23.04.2011, 17:47
Well, i dont really know what OCC does xD but ehh.
pawn Код:
if(strcmp(cmdtext,"/b", true) == 0)
{
new text[128];
if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /b (text)");
{
format(string,sizeof(string),"[B]: %s", text);
SendClientMessageToAll(0xFFFFFFAA, string);
}
return 1;
}
if(strcmp(cmdtext,"/o", true) == 0)
{
new text[128];
if(sscanf(params, "s[128]", text)) return SendClientMessage(playerid, COLOR_YELLOW, "USAGE: /o (text)");
{
format(string,sizeof(string),"[O]: %s", text);
SendClientMessageToAll(0xFFFFFFAA, string);
}
return 1;
}