SA-MP Forums Archive
help with dialogs - 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: help with dialogs (/showthread.php?tid=629237)



help with dialogs - organe. - 22.02.2017

hey

my code:
Код:
					if( teisingiAtsakymai[ playerid ] < 9 )
					{
					     bad 1.2.3.4.5.6.7.8
					}
					else
					{
					    its ok 10 or 9
					}
and when i have teisingiAtsakymai = 10, server dont show dialog
i need when


Re: help with dialogs - CXdur - 22.02.2017

I don't really understand what you are trying to do. Can you please provide more code and clarify?


Re: help with dialogs - organe. - 22.02.2017

Код:
if( teisingiAtsakymai[ playerid ] < 9 )
{
SendClientMessage( playerid, -1, "you successful have driver license");
pdata[ playerid ] [ dLic ] = 1;
}
else
{
SendClientMessage( playerid, -1, "not get a driver's license ( need 9 / 10 ) to get");
}
then 10/10 nothing is happening


Re: help with dialogs - organe. - 23.02.2017

then teisingiAtsakymai[ playerid ] = 1..8 it ok.working, bet 9/10 10/10 nothing is happening
can anyone help me ?