Quick Questiong about new float:ovPositionX - 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: Quick Questiong about new float:ovPositionX (
/showthread.php?tid=607229)
Quick Questiong about new float:ovPositionX -
Luicy. - 16.05.2016
Hi, So I'm implenting a car system to my RP GM,
and, I do not receive any error while doing this to my enum:
PHP код:
Float:ovPositionX
, But if I do
PHP код:
float:ovPositionX
it gets blue, Is there any diffrencess?
Re: Quick Questiong about new float:ovPositionX -
BiosMarcel - 16.05.2016
there is some things that have syntax highlighting but still can not be used like "double" or "float" , just ignore these and use "Float"
Re: Quick Questiong about new float:ovPositionX -
Konstantinos - 16.05.2016
Yes, there is.
float is a function to convert an integer into a float while
Float is the tag itself.
Re: Quick Questiong about new float:ovPositionX -
BiosMarcel - 16.05.2016
Then sorry for the wrong answer :O
ANd why does "double" have syntax highlighting?
Re: Quick Questiong about new float:ovPositionX -
Vince - 16.05.2016
Because syntax highlighting was probably just copied from C. There are many more data types and other keywords that are highlighted, such as int, void, signed, unsigned, protected, private, etc.