12.02.2011, 11:10
Well, you should have something like:
SetPlayerPos - Sets where the characters through which you 'scroll' are
SetPlayerCameraPos - Where the camera is positioned ... you should put it close to the character, so you can see it.
SetPlayerCameraLookAt - You put the SetPlayerPos coordinates, since you want the camera to look at that position.
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos( playerid, 1543.9497, -1353.1797, 329.4745 );
SetPlayerCameraPos( playerid, 1516.3965, -1676.6370, 29.6441 );
SetPlayerCameraLookAt (playerid, 1552.7390, -1675.4622, 16.1953 );
return 1;
}
SetPlayerCameraPos - Where the camera is positioned ... you should put it close to the character, so you can see it.
SetPlayerCameraLookAt - You put the SetPlayerPos coordinates, since you want the camera to look at that position.