Anyone any idea why numbers not work in my code?

So when im coding, if i type any number, it doesnt work, i mean the code itself works but any number i type in, will be equal to zero, so its like it doesnt recognize it.
BUT if i copy paste the numbers from ex, wikipedia, it works.
It annoying the hell out of me and i cant find a solution, english keyboard doesnt solve the problem.

Show us what you are doing?

Already got a solution. Basically i wrote 0,0,0 instead of 0.0,0.0.,0.0
So the game cant recognize that i “meant” float…

1 Like

Yeah, float needs to be a decimal value… just add .0 to the end of any numbers. If it says int (or integer), it can be a “normal” number without the .0

Yeah i know the basics, but there are like 2% of the actually commands have a syntax or how to call it, anyway a description. The wiki page is mostly empty so im guessing the format of things.

If you mean the native database, yeah… I guess someone keeps deleting everything. For a backup of the natives, you can check out this post. Some people posted their own backups http://gtaforums.com/topic/885251-what-are-just-happening/

1 Like

ah this is annoying, thanks for sharing this link