23.04.2009, 15:58
Hello all, i have a little question..
This code allow me to 'return 0;' if one player write in the chat only number '1'..but this code don't work perfectly..because if i write 11, it return 0; .. if i write 11162..return 0; too. So, how can i fix it? Sry for my bad english
Код:
public OnPlayerText(playerid, text[]) { if(!strcmp(text,"1",false,1)) { return false; } return 1; }