need help plz IsPlayerInRangeOfPoint not work
#5

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


Messages In This Thread
need help plz IsPlayerInRangeOfPoint not work - by edwardluciano - 20.07.2014, 13:58
Re: need help plz IsPlayerInRangeOfPoint not work - by biker122 - 20.07.2014, 14:41
Re: need help plz IsPlayerInRangeOfPoint not work - by edwardluciano - 20.07.2014, 15:15
Re: need help plz IsPlayerInRangeOfPoint not work - by Metharon - 20.07.2014, 15:19
Re: need help plz IsPlayerInRangeOfPoint not work - by Mauzen - 20.07.2014, 15:41
Re: need help plz IsPlayerInRangeOfPoint not work - by edwardluciano - 20.07.2014, 16:00

Forum Jump:


Users browsing this thread: 1 Guest(s)