Anti repeat Crash | Why?
#1

Hey I use this function:

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);
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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)