Help Player Pos And Camera Pos - 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: Help Player Pos And Camera Pos (
/showthread.php?tid=659822)
Help Player Pos And Camera Pos -
Cezar98 - 17.10.2018
Can someone to give me the player coordonates and the camera coordonates which is here pls i need it thx a lot is interior 14. i need SetPlayerPos and SetPlayerCameraPos coordonates.
https://www.imgx.ro/fullview.php?id=245223
Re: Help Player Pos And Camera Pos -
v1k1nG - 17.10.2018
Please use imgur
Re: Help Player Pos And Camera Pos -
Cezar98 - 17.10.2018
Quote:
Originally Posted by v1k1nG
Please use imgur
|
https://imgur.com/a/1EgV3rE
Re: Help Player Pos And Camera Pos -
v1k1nG - 17.10.2018
Camera
PHP код:
SetPlayerCameraPos(playerid, -1459.4674, 1566.6274, 1058.9850);
SetPlayerCameraLookAt(playerid, -1458.7123, 1567.2842, 1058.8658);
Player
PHP код:
SetPlayerPos(playerid, -1450.9520,1575.8125,1057.6543);
Re: Help Player Pos And Camera Pos -
Cezar98 - 17.10.2018
Quote:
Originally Posted by v1k1nG
Camera
PHP код:
SetPlayerCameraPos(playerid, -1459.4674, 1566.6274, 1058.9850);
SetPlayerCameraLookAt(playerid, -1458.7123, 1567.2842, 1058.8658);
Player
PHP код:
SetPlayerPos(playerid, -1450.9520,1575.8125,1057.6543);
|
https://imgur.com/a/Mq1eMyH
Re: Help Player Pos And Camera Pos -
v1k1nG - 17.10.2018
Consider in editing a bit the coordinates too, you are really near.
Don't expect us to do all the job.
Re: Help Player Pos And Camera Pos -
Cezar98 - 17.10.2018
Quote:
Originally Posted by v1k1nG
Consider in editing a bit the coordinates too, you are really near.
Don't expect us to do all the job.
|
How can i do it ?
Re: Help Player Pos And Camera Pos -
d3Pedro - 17.10.2018
Quote:
Originally Posted by Cezar98
How can i do it ?
|
/rs in game and then go to your documents > gta sa folder > samp > rawpositions
You will find something similar to this:
Код:
1921.7964,-2005.1603,13.5469,344.3135 ;
Player pos x, player pos y, player pos z, player angle
So you save your position and then edit setplayerpos.
https://sampwiki.blast.hk/wiki/SetPlayerPos
Re: Help Player Pos And Camera Pos -
Cezar98 - 17.10.2018
Quote:
Originally Posted by ConnorW
/rs in game and then go to your documents > gta sa folder > samp > rawpositions
You will find something similar to this:
Код:
1921.7964,-2005.1603,13.5469,344.3135 ;
Player pos x, player pos y, player pos z, player angle
So you save your position and then edit setplayerpos.
https://sampwiki.blast.hk/wiki/SetPlayerPos
|
/save or /rs ?
Re: Help Player Pos And Camera Pos -
d3Pedro - 17.10.2018
Quote:
Originally Posted by Cezar98
/save or /rs ?
|
/save auto create a player class, /rs create only coordinates