Quick Questiong about new float:ovPositionX
#1

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?
Reply
#2

there is some things that have syntax highlighting but still can not be used like "double" or "float" , just ignore these and use "Float"
Reply
#3

Yes, there is.
float is a function to convert an integer into a float while Float is the tag itself.
Reply
#4

Then sorry for the wrong answer :O
ANd why does "double" have syntax highlighting?
Reply
#5

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)