SA-MP Forums Archive
Learn coordinate - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Learn coordinate (/showthread.php?tid=536292)



Learn coordinate - pes2013 - 08.09.2014

Hello

I'm new and want to know how to shorten a coordinate

This is what I want to shorten:

188,207.5515,-109.1549,1005.1328,189.5451,0,0,0,0,0,0



Re: Learn coordinate - EgyptForLife - 08.09.2014

It is easy, just remove the first number "188" which is your skin id. And take the 3 numbers after it ( x , y , z ).
So it would look like this :
207.5515,-109.1549,1005.1328

Don't Forget +REP if I helped.


Re: Learn coordinate - AroseKhanNiazi - 08.09.2014

if this is an from the /save or the other command (i don't remember)
for the save
skinid,x,y,z,angle,weapon 1, ammo of weapon 1 ,weapon 2, ammo of weapon 2 ,weapon 3, ammo of weapon 4
here
188 = skinid
207.5515 x coordinate
-109.1549 y coordinate
1005.1328 z coordinate
189.5451 Angle
0 weapon id
0 ammo
....