Help Needed
#1

pawn Код:
if (!IsPlayerInRangeOfPoint(playerid, 6,255.3,77.4,1003.6) || !IsPlayerInRangeOfPoint(playerid, 6,223.6328,186.8251,1003.0313) || !IsPlayerInRangeOfPoint(playerid, 6, 233.4989,123.6518,1003.2188))
                {
                    SendClientMessage(playerid, COLOR_WHITE, "* You are not in a locker-room!");
                    return 1;
                }
Causing Pawn Compiler to crash, any-idea what is wrong?
Reply
#2

You miss the range

(playerid, Float:range, Float, Float:y, Float:z)

Example from your first post

!IsPlayerInRangeOfPoint(playerid, 6,255.3,77.4,1003.6)

!IsPlayerInRangeOfPoint(playerid, 10,6,255.3,77.4,1003.6) - 10 its the range
Reply
#3

So am I just changing to:

!IsPlayerInRangeOfPoint(playerid, 10,6,255.3,77.4,1003.6)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)