Need help - 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: Need help (
/showthread.php?tid=410144)
Need help -
maho422 - 24.01.2013
I wanna move my server from san fierro to los santos , i need to change checkpoints,car,gates,spawnpoints coords , But when i do /save the coords aint right as it is in the gm , Can someone help me or if you can make this for me you will be rewarded , add maahoo422 on skype!
Re: Need help -
DiGiTaL_AnGeL - 24.01.2013
Let me explain tou how you must take x, y and z from savedpositions.
There are saved a lot of things:
pawn Код:
AddPlayerClass(modelid, x, y, z, z_angle, weapon1, weapon1_ammo, weapon2, weapon2_ammo, weapon3, weapon3_ammo);
So you take what you need. For example, if you want to use the coords for SetPlayerPos, you get only x, y and z coordinates. So, if the code will look like this:
pawn Код:
AddPlayerClass(0,294.7047,-3559.4197,8.7597,94.8664,0,0,0,0,0,0); //
You get the x, y and z coordinates like this:
pawn Код:
294.7047, -3559.4197, 8.7597//there is x, y and z