PDA

View Full Version : birds view? [+reps]


PawnoQ
01/01/2012, 01:07 AM
hi,

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


SetPlayerCameraLookAt(playerid,0,0,0);

[Nikk]
01/01/2012, 01:11 AM
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

PawnoQ
01/01/2012, 01:14 AM
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 :)

kizla
01/01/2012, 01:21 AM
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 :=)

PawnoQ
01/01/2012, 01:27 AM
thx but this doesnt make the camera of the player look on the bottom. :confused:
Any other ideas?

kizla
01/01/2012, 01:37 AM
it dose...

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

PawnoQ
01/01/2012, 01:44 AM
ok sorry, it works, thx alot :)