Reaction Test Bug - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Reaction Test Bug (
/showthread.php?tid=580980)
Reaction Test Bug -
Ugaustin - 09.07.2015
i got an reaction test from internet and if players type in brackets {123456} or 6 numbers in brackets thy win event!
how could i fix??so nothing appear??
Re: Reaction Test Bug -
Michael B - 09.07.2015
Could you provide more details regarding your issue please, so we can have a clue on what's wrong there?
Re: Reaction Test Bug -
Ugaustin - 11.07.2015
yes, theres an event and people to win they type {123456} and the win the event mini..
" %s type :%s to win 1000$"
Re: Reaction Test Bug -
Ugaustin - 11.07.2015
anyone??
Re: Reaction Test Bug -
Sime30 - 11.07.2015
Post your codes...
Re: Reaction Test Bug -
Threshold - 11.07.2015
Return 0 after they win. This stops the original text from being sent to the chat.
https://sampwiki.blast.hk/wiki/OnPlayerText
Re: Reaction Test Bug -
[WoF]Sonny - 11.07.2015
Put this under your OnPlayerText function:
Код:
if(!strlen(text))
{
SendClientMessage(playerid, 0xffffffff, "ERROR!!! You need to install Windows XP in order to do this!");
return 0;
}
Re: Reaction Test Bug -
Ugaustin - 11.07.2015
fixed!! thanks.