Variable not 'writing'
BlitzPlus Forums/BlitzPlus Beginners Area/Variable not 'writing'
| ||
In the beginning of my code I have thisglobal mapname = "Road" yet in the Blitz debugger it says this Mapname = 0 Why is this happening? I need that variable! |
| ||
Make it mapname$ otherwise the compiler thinks it's a variable that takes a number. |
| ||
The first time you refer/declare a variable you need to specify whether it is a float or a string (with # or $ appended to the variable name) otherwise blitz treats it as an integer. |