20.07.2014, 15:41
editor[] in both cases is a local variable. Local variables wont keep their value.
After you use
new Float:editor[3];
All the values are 0.0 again.
In order to get this to work, you need to use global variables. Check the wiki or tutorials here if you dont know how to do that, i wont explain it here.
After you use
new Float:editor[3];
All the values are 0.0 again.
In order to get this to work, you need to use global variables. Check the wiki or tutorials here if you dont know how to do that, i wont explain it here.