SA-MP Forums Archive
How to do this in samp. if(Y == 0.0f) - 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: How to do this in samp. if(Y == 0.0f) (/showthread.php?tid=491028)



How to do this in samp. if(Y == 0.0f) - Hoborific - 29.01.2014

it doesn't seem to recognize it and throws fits about it, ideas?


Re: How to do this in samp. if(Y == 0.0f) - Hoborific - 29.01.2014

It's updated to PAWN 4 and I have never had any problems in other languages like C++ with 0.0f and other float values.

edit: just searched the pdf, couldn't find a reference, I'll just stick with floats, thanks.