how to find x y z of saved positon
#1

hey how do i find x y z of this

AddPlayerClass(223,2288.5730,-1104.7228,38.5915,339.2489,0,0,0,0,0,0); //

and this


AddPlayerClass(223,2388.3733,-2007.8926,13.5537,44.5211,0,0,0,0,0,0);

and

ill do other 5 i got please help me get x y z out of them

Thanks
JORDAN!

Reply
#2

Let's take this one as an example:
Quote:
Originally Posted by Jordan_Lee
AddPlayerClass(223,2288.5730,-1104.7228,38.5915,339.2489,0,0,0,0,0,0); //
X = 2288.5730
Y = -1104.7228
Z = 38.5915

https://sampwiki.blast.hk/wiki/AddPlayerClass
Reply
#3

Its at addplayerclass(skinid.x.y.z.rotation. ( bla bla bla ) )

wrong section btw.
Reply
#4

Quote:
Originally Posted by Jordan_Lee
AddPlayerClass(223,2288.5730,-1104.7228,38.5915,339.2489,0,0,0,0,0,0);
You see, AddPlayerClass works like this:

AddPlayerClass(skinid, float:X, float:y, floatz, angle, weapon1id, weapon1ammo, weapon2id, weapon2ammo, weapon3id, weapon3ammo);

So what you got there

Quote:
Originally Posted by Jordan_Lee
AddPlayerClass(223,2288.5730,-1104.7228,38.5915,339.2489,0,0,0,0,0,0);
the XYZ is 2288.5730,-1104.7228,38.5915
(AddPlayerClass(223,2288.5730,-1104.7228,38.5915,339.2489,0,0,0,0,0,0);)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)