04.01.2018, 07:47
Instead of this, make it that players can fish whenever they are near water :P You're using InPlayerInRangeOfPoint in wrong way here dude:
should be two different IsPlayerInRangeOfPoint statements!
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!!
PHP код:
!IsPlayerInRangeOfPoint(playerid, 3, FishingAreaPos[0], FishingAreaPos[1], FishingAreaPos[2] || FishingAreaPos2[0], FishingAreaPos2[1], FishingAreaPos2[2])
PHP код:
!IsPlayerInRangeOfPoint(playerid, 3.0, FishingAreaPos[0], FishingAreaPos[1], FishingAreaPos[2])
!IsPlayerInRangeOfPoint(playerid, 3.0, FishingAreaPos2[0], FishingAreaPos2[1], FishingAreaPos2[2])