IsPlayerInRangeOfPoint
#4

I then realized I forgot about 0 completely that it's a valid one and I edited the post. Set to -1 and in the /buy command:
pawn Код:
if (Player[playerid][InBusiness] == -1) return // error: not in range of any business
// rest of code..
But the best solution would be to loop once in the /buy command, I don't see any point of using a timer and looping over and over again.
Reply


Messages In This Thread
IsPlayerInRangeOfPoint - by EaglesBill - 21.05.2015, 14:06
Re: IsPlayerInRangeOfPoint - by Konstantinos - 21.05.2015, 14:10
Re: IsPlayerInRangeOfPoint - by EaglesBill - 21.05.2015, 14:35
Re: IsPlayerInRangeOfPoint - by Konstantinos - 21.05.2015, 14:58
Re: IsPlayerInRangeOfPoint - by EaglesBill - 21.05.2015, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)