SA-MP Forums Archive
birds view? [+reps] - 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: birds view? [+reps] (/showthread.php?tid=307756)



birds view? [+reps] - PawnoQ - 01.01.2012

hi,

how to get a birds view with this function?
What coordinates i have to write there?

pawn Код:
SetPlayerCameraLookAt(playerid,0,0,0);



Respuesta: birds view? [+reps] - [Nikk] - 01.01.2012

pawn Код:
SetPlayerCameraPos(playerid,-431.822967, 2506.083496, 127.304687);
SetPlayerCameraLookAt(playerid,-421.168640, 2507.081542, 124.304687);
thats is and example,
Only you have to go in game and Put /save, at the place what you want where the camera is, and put /save where you want what the camera look...
And copy the cordinates to there


Re: birds view? [+reps] - PawnoQ - 01.01.2012

ive tried already a lot of things also with save but i still dont know what values to write there...

thx anyway.

Please help me i need this


Re: birds view? [+reps] - kizla - 01.01.2012

pawn Код:
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
SetPlayerCameraPos(playerid,X,Y,Z+12);
SetPlayerCameraLookAt(playerid,X,Y,Z);
Here you go :=)


Re: birds view? [+reps] - PawnoQ - 01.01.2012

thx but this doesnt make the camera of the player look on the bottom.
Any other ideas?


Re: birds view? [+reps] - kizla - 01.01.2012

it dose...

the camera is putting 12 (samp yards) over the player and looking at the position of him..