Checkpoint area cords?
#1

Код:
 Then get the coords for the area which has to be entered to trigger the checkpoint, and add it to the CheckpointCoords array (it uses IsPlayerInArea so just do it as you would normally).
How do i get the coords, is it the normal
Код:
x,y,z
?
or is it
Код:
xmax,xmin,ymax,ymin,
if so how do i get those cords?
Reply
#2

x,y,z. its 3 coordinates, 1 axis each. used for checkpoints, pickups, objects, cars etc...
xmin,xmax, ymin,ymax describes a 2dimensional square at the x and z axis - its a gangzone. (despite the x,y notation)
so your checkpoint needs the 1st one, 3 cordinates.
to get the exact position, type /SAVE <comment> in-game while being logged in RCON. this will add a line entry to the file "savedpositions.txt", located in your GTASA installation directory (game, not server).
Reply
#3

Thanks mate
thought it was the xmax, etc..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)