Small Question
#1

Why isnt this:

pawn Код:
else if(IsPlayerInRangeOfPoint(playerid,3.0,2316.6213,-15.5227,26.7422) || IsPlayerInRangeOfPoint(playerid,3.0,2316.6213,-12.7947,26.7422) || IsPlayerInRangeOfPoint(playerid,3.0,2316.6213,-9.9805,26.7422) || IsPlayerInRangeOfPoint(playerid,3.0,2316.6213,-7.2740,26.7422))
Working? I am trying to see if the player is near those coords and if he is he can use the command I get no errors and the command works but you have to be in the corner of the bank instead of in range of those points.
Reply
#2

Up the Float:range.

pawn Код:
else if(IsPlayerInRangeOfPoint(playerid,10.0,2316.6213,-15.5227,26.7422) || IsPlayerInRangeOfPoint(playerid,10.0,2316.6213,-12.7947,26.7422) || IsPlayerInRangeOfPoint(playerid,10.0,2316.6213,-9.9805,26.7422) || IsPlayerInRangeOfPoint(playerid,10.0,2316.6213,-7.2740,26.7422))
See if that helps.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)