Help Getting X Y Z coords

Status
Not open for further replies.

Zin

Expert
Joined
Aug 1, 2013
Messages
1,720
Solutions
1
Reaction score
111
I have been searching for ages so i can edit auto getmats when i do /save on samp it gives me coords but in a weird line with more then the X Y Z and i dont know which ones are the X Y Z i have searched the web for a coordinates getter but its for GTA SA singleplayer and does not work in samp anyhelp.

Im trying to get the X and Y coords of theese lines.

Code:
AddPlayerClass(299,-480.0076,-539.2271,25.5296,337.2962,0,0,0,0,0,0); // loadpackages

Code:
AddStaticVehicle(498,2222.5129,-2682.7434,13.7136,195.1531,1,3); // deliverpackages
 

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
For AddPlayerClass, these are the parameters in precise order

skin The skin which the player will spawn with.
Float:X The X coordinate of the spawnpoint of this class.
Float:Y The Y coordinate of the spawnpoint of this class.
Float:Z The Z coordinate of the spawnpoint of this class.
Float:Angle The direction in which the player should face after spawning.
weapon1 The first spawn-weapon for the player.
weapon1_ammo The amount of ammunition for the primary spawn weapon.
weapon2 The second spawn-weapon for the player.
weapon2_ammo The amount of ammunition for the second spawn weapon.
weapon3 The third spawn-weapon for the player.
weapon3_ammo The amount of ammunition for the third spawn weapon.

For AddStaticVehicle,

modelid The Model ID for the vehicle.
Float:spawn_X The X-coordinate for the vehicle.
Float:spawn_Y The Y-coordinate for the vehicle.
Float:spawn_Z The Z-coordinate for the vehicle.
Float:angle Direction of vehicle - angle.
color1 The primary color ID. -1 for random.
color2 The secondary color ID. -1 for random.

[member=4364]zin[/member]
 
Status
Not open for further replies.
Top