20.04.2009, 05:00
Hey I use this function:
But I type about 30 Hungaryan characters on chat, (eg: бőъűбőъ or lot of @@@@@@@) It will crash the server.
Only windows, on linux works fine...
( I use strfind for noob like 1. hey 2. heyy )
Any idea? Why crashed the server?
pawn Код:
static stext[MAX_PLAYERS][128];
if(!strfind(text, stext[playerid], true))
return SendClientMessage(playerid, 0xFF0000FF, "Don't Repeat yourself!"), false;
format(stext[playerid], sizeof stext[], text);
Only windows, on linux works fine...
( I use strfind for noob like 1. hey 2. heyy )
Any idea? Why crashed the server?