SA-MP Forums Archive
[HELP] House Cordinates - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP] House Cordinates (/showthread.php?tid=79259)



[HELP] House Cordinates - joeri55 - 26.05.2009

Hello guys,

I've got a question about the house cordinates

AddPlayerClass(281,1720.2794,-1740.9211,13.5469,0.9938,0,0,0,0,0,0); // entrance
AddStaticVehicle(599,1726.6548,-1737.7883,13.6520,269.8992,0,1); // housecar

This are my lines but I don't know how I know wich the X, Y and Z are?


Re: [HELP] House Cordinates - Hot - 26.05.2009

Use Wiki SA:MP

http://wiki.sa-mp.com

That helps you a lot


Re: [HELP] House Cordinates - Correlli - 27.05.2009

Let's take AddPlayerClass coords for example:
pawn Код:
AddPlayerClass(281,1720.2794,-1740.9211,13.5469,0.9938,0,0,0,0,0,0); // entrance
X = 1720.2794
Y = -1740.9211
Z = 13.5469
281 is skin model.
0.9938 is angle.
Other numbers are for weapons and ammo.


pawn Код:
AddStaticVehicle(599,1726.6548,-1737.7883,13.6520,269.8992,0,1); // housecar
Again, first float numbers are x coord, second float numbers are y coord and the third float numbers are z coord.


Re: [HELP] House Cordinates - joeri55 - 27.05.2009

Thanks I really needed that


Re: [HELP] House Cordinates - Correlli - 27.05.2009

You're welcome.