21.05.2015, 14:58
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:
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.
pawn Код:
if (Player[playerid][InBusiness] == -1) return // error: not in range of any business
// rest of code..