Check points size
#6

Okay this is how it works.

Код:
TampanDanBerani[playerid][0] // This is the X coordinate. 
TampanDanBerani[playerid][1] // This is the Y coordinate.
TampanDanBerani[playerid][2] // This is the Z coordinate.
These values add up to a single position in the sa-mp world. Now when using radius ( 10.0 and 20.0 are the radius ) it checks if the player is within a certain distance of the x,y and z coordinate.

So if your coordinate are equal to your checkpoint, then the radius is how far from the checkpoint middle point you are. think of it like drawing a circle with the middle of the circle being the X,Y point is.
Reply


Messages In This Thread
Check points size - by MerryDeer - 09.10.2016, 15:24
Re: Check points size - by azzerking - 09.10.2016, 16:30
Re: Check points size - by MerryDeer - 09.10.2016, 18:53
Re: Check points size - by azzerking - 09.10.2016, 19:03
Re: Check points size - by MerryDeer - 09.10.2016, 19:05
Re: Check points size - by azzerking - 09.10.2016, 19:10
Re: Check points size - by MerryDeer - 10.10.2016, 07:48

Forum Jump:


Users browsing this thread: 1 Guest(s)