Is it possible - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Is it possible (
/showthread.php?tid=185479)
Is it possible -
iTorran - 24.10.2010
Is it possible to detect if a player put a . in the params?
Like /passcode 100.1
I need to detect that he puts a dot after 3 numbers and puts a number after the dot
Re: Is it possible -
Grim_ - 24.10.2010
Yes.
pawn Код:
if((params[3] == '.') && (params[4] != ' '))
Something to that extent.