Not working - IsPlayerInRangePoint
#2

Instead of this, make it that players can fish whenever they are near water :P You're using InPlayerInRangeOfPoint in wrong way here dude:

PHP код:
!IsPlayerInRangeOfPoint(playerid3FishingAreaPos[0], FishingAreaPos[1], FishingAreaPos[2] || FishingAreaPos2[0], FishingAreaPos2[1], FishingAreaPos2[2]) 
should be two different IsPlayerInRangeOfPoint statements!

PHP код:
!IsPlayerInRangeOfPoint(playerid3.0FishingAreaPos[0], FishingAreaPos[1], FishingAreaPos[2])
!
IsPlayerInRangeOfPoint(playerid3.0FishingAreaPos2[0], FishingAreaPos2[1], FishingAreaPos2[2]) 
And please for the sake of optimization, don't type integer in place of floats, you just need to put a .0 after your number!!
Reply


Messages In This Thread
Not working - IsPlayerInRangePoint - by DavidGravelli - 04.01.2018, 05:05
Re: Not working - IsPlayerInRangePoint - by Logic_ - 04.01.2018, 07:47
Re: Not working - IsPlayerInRangePoint - by Ritzy2K - 04.01.2018, 08:12
Re: Not working - IsPlayerInRangePoint - by DavidGravelli - 04.01.2018, 10:38
Re: Not working - IsPlayerInRangePoint - by DavidGravelli - 04.01.2018, 10:46

Forum Jump:


Users browsing this thread: 2 Guest(s)