birds view? [+reps]
#1

hi,

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

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

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
Reply
#3

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
Reply
#4

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 :=)
Reply
#5

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

it dose...

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


Forum Jump:


Users browsing this thread: 1 Guest(s)