GetPlayerDistanceFromPlayer
#2

Using ".." is invalid and you can't check if something is equal to more than 1 value. ".." is used in switch for integers only. Also you keep calling GetPlayerDistanceFromPlayer function. Store what distance returned to a local variable and then check if for example "distance >= 10.1 && distance <= 20.0".
Reply


Messages In This Thread
GetPlayerDistanceFromPlayer - by GoldenLion - 11.06.2016, 14:57
Re: GetPlayerDistanceFromPlayer - by Konstantinos - 11.06.2016, 15:02
Re: GetPlayerDistanceFromPlayer - by GoldenLion - 11.06.2016, 15:48
Re: GetPlayerDistanceFromPlayer - by Konstantinos - 11.06.2016, 15:49
Re: GetPlayerDistanceFromPlayer - by Sjn - 11.06.2016, 15:50
Re: GetPlayerDistanceFromPlayer - by GoldenLion - 11.06.2016, 15:51

Forum Jump:


Users browsing this thread: 3 Guest(s)