09.10.2016, 19:10
Okay this is how it works.
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.
Код:
TampanDanBerani[playerid][0] // This is the X coordinate. TampanDanBerani[playerid][1] // This is the Y coordinate. TampanDanBerani[playerid][2] // This is the 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.

