/watch vip
#1

<REMOVED>
Reply
#2

I don't understand your problem, change the old coordinates to coordinates in your new location?
Reply
#3

Take a look at the code - see those //OLD CODES comments? Those are lines you have to change. In SetPlayerPos - well, that's the point where the player is "standing", and we don't want him to interfere so we're placing him at -80.0 Z coord. Now "SetPlayerCameraPos" this is point from player looks at coords marked by "SetPlayerCameraLookAt". So that one should be right before your location:
pawn Код:
SetPlayerCameraPos(playerid, 1316.63 - 1.0, -1424.21 - 10.0, 27.13 + 2.0);
I added example offsets: -1.0 to X axis, -10.0 to Y axis, and +2.0 to Z axis. Change them however you want to look at the building.
And you should look directly at it, so simply.
pawn Код:
SetPlayerCameraLookAt(playerid, 1316.63, -1424.21, 27.13);
Reply
#4

<REMOVED>
Reply
#5

<REMOVED>
Reply
#6

Adjust your SetPlayerCameraLookAt values. Stand exactly at the point you want to be looked at, and save its position. No idea about vw, that function sets it to 0, remove that line if you don't want to change virtual world.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)