11.02.2011, 13:36
Also an error:
Should be:
You were reading text into an integer variable, while you gave sscanf the instruction to extract a string.
pawn Код:
new text,string[70], pName[MAX_PLAYER_NAME];
if(sscanf("s",text)) return SendClientMessage(playerid,COLOR_ERROR,"Usage: /o [Msg]"); // line with error
pawn Код:
new text[128], string[70], pName[MAX_PLAYER_NAME];
if(sscanf(cmdtext, "s[128]",text)) return SendClientMessage(playerid,COLOR_ERROR,"Usage: /o [Msg]"); // line with error