SA-MP Forums Archive
[ERROR] SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt - 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: [ERROR] SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt (/showthread.php?tid=271555)



[ERROR] SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt - DRCharlie - 24.07.2011

I do everything alright(same int, same vw), I set the player's position, and the camera position and I even set the position where the camera should look at, but it only shows the objects, not the players.

The players can't see me either, help please, thanks.


Re: [ERROR] SetPlayerPos, SetPlayerCameraPos, SetPlayerCameraLookAt - TheArcher - 24.07.2011

Depends maybe you're using the objects in another VW. SetPlayerCameraPos, SetPlayerCameraLookAt i think can be used only with VW 0. I dont remember.

Edit: In fact i checked and the natives are:

pawn Код:
SetPlayerPos(playerid, Float:x, Float:y, Float:z);
SetPlayerCameraPos(playerid, Float:x, Float:y, Float:z);
SetPlayerCameraLookAt(playerid, Float:x, Float:y, Float:z);