0 Problem - 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: 0 Problem (
/showthread.php?tid=577082)
0 Problem -
Ugaustin - 08.06.2015
can I make a thing to disallow first number 0 .. so people cant use 0 as first number..please help!!!!!fast
Re : 0 Problem -
KillerDVX - 08.06.2015
Didn't understand,
Could you explain more ?
Re: 0 Problem -
Threshold - 09.06.2015
Well yes... just check if the first element is 0.
pawn Код:
if(params[0] == '0') // The first number was 0.
This is an example, but if it's not what you're looking for, then I suggest you post an example code.
Re: 0 Problem -
Ugaustin - 09.06.2015
thanks everybody .. best forum samp.com!!
Re: 0 Problem -
Ugaustin - 09.06.2015
fixed!
Re: 0 Problem -
Konstantinos - 09.06.2015
it's
==, not =.
Re: 0 Problem -
Ugaustin - 09.06.2015
yes
thanks