31.10.2010, 09:10
@g_aSlice:
It's not complete.
This should work. Didn't test it yet.
It's not complete.
pawn Код:
public OnPlayerText(playerid, text[])
{
if(strfind(text, "~", true) != -1 || !text[0]) return 0;
new
i
;
for( ; (text[i] != '\0' && text[i] <= ' ') ; ) ++i;
strmid(text, text, i, strlen(text), 128);
return 1;
}