Opis problema o kojem se radi: ubacio sam reakcije u mod da ne bi koristio fs i sada pojavi se reakcija ja je ukucam ali nista se ne dogadja.....
Dio skripte:
switch(xTestBusy)
{
case true:
{
if(!strcmp(xChars, text, false)) {
new string, pName;
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), ""SC"Reaciont-BOT: "GREY"Igrac "WHITE"%s "GREY"je bio najbrzi i osvojio odredjenu sumu novca", pName);
SendClientMessageToAll(-1, string);
format(string, sizeof(string), ""SC"Reakcije: "DGREEN"Cestitam! "GREY"Bio si najbrzi i osvojio "DGREEN"%d$.", xCash);
SendClientMessage(playerid, -1, string);
g_NovacPlus(playerid, xCash);
SetPlayerScore(playerid, GetPlayerScore(playerid));
xReactionTimer = SetTimer("xReactionTest", TIME, 1);
xTestBusy = false; } } }
return 1;
}
//////////////////////////////////////////////////////////////////////////////
forward xReactionProgress();
public xReactionProgress()
{
switch(xTestBusy) {
case true: {
new string ;
format(string, sizeof(string), ""SC"Reakcije: "GREY"Niko nije napisao rec kako treba!", (TIME/60000));
SendClientMessageToAll(-1, string);
xReactionTimer = SetTimer("xReactionTest", TIME, 1); } }
return 1;
}
//----------------------------------------------------------------------------//
forward xReactionTest();
public xReactionTest()
{
new xLength = (random(8) + 2), string ;
xCash = (random(2000));
format(xChars, sizeof(xChars), "");
Loop(x, xLength) format(xChars, sizeof(xChars), "%s%s", xChars, xCharacters[random(sizeof(xCharacters))]);
format(string, sizeof(string), ""SC"Reakcije: "GREY"Igra je pocela! Ko prvi upise "WHITE"%s "GREY"osvaja "DGREEN"%d$.", xChars, xCash);
SendClientMessageToAll(-1, string);
KillTimer(xReactionTimer);
xTestBusy = true;
SetTimer("xReactionProgress", 30000, 0);
return 1;
}Slika (neobavezno): http://i.imgur.com/GebviEv.png

