Quote:
Originally Posted by thiaZ_
pawn Код:
//onplayertext: for(new i=0; i<256; i++) { if(strfind(text[i],result12) != -1 && calculated == 1) { SendClientMessageToAll(THIAZ_YELLOW,"the calculation has been finished!"); //do this for yourself! GivePlayerMoney(playerid,5000); calculated = 0; //set this to 0, so that noone else can write the result after now. } }
|
SA:MP chat-box MAX_IO is 128, so i don't really know why're you using 256?