Error help.
#2

The right usage of IsPlayerInRangeOfPoint:
pawn Код:
IsPlayerInRageOfPoint(playerid, Float:range, Float:x, Float:y, Float:z);
You only need the range of the point, then x , y , z.
But I think the numbers you put after "2.98" aren't the right coordinates (x,y,z)

To get the coordinates:
Get in game at the place you want then type /save , then go to Documents > GTA > SAMP > savedpositions.txt.
You will find something like:
Код:
AddPlayerClass(0,-481.3712,-220.6299,974.7113,6.0043,0,0,0,0,0,0);
"0" is the player skin.
"-481.3712" is X.
"-220.6299" is Y.
"6.0043" is Z.
So, you need to copy the first three numbers after the "0".
I hope that I helped you.
Reply


Messages In This Thread
Error help. - by Brys - 23.12.2014, 10:18
Re: Error help. - by AdHaM612 - 23.12.2014, 10:26
Re: Error help. - by JeaSon - 23.12.2014, 10:28
Re: Error help. - by Brys - 23.12.2014, 10:29
Re: Error help. - by M4D - 23.12.2014, 10:34
Re: Error help. - by AdHaM612 - 23.12.2014, 10:35

Forum Jump:


Users browsing this thread: 1 Guest(s)