19.02.2011, 07:56
Im having trouble with SetPlayerCameraPos i have this
And the (240.9189, degrees)) is the facing angle from /save, It works fine in OnPlayerRequestClass but its not working with my tutorial after OnPlayerSpawn
It just shows a random pos :S i think its behind them can anyone show me how its done?
EDIT:
And how to show the objects/3dText etc when its setting the camera positions?
pawn Код:
SetPlayerCameraLookAt(playerid, -926.8456,-101.9948,58.1380);
SetPlayerCameraPos(playerid, -926.8456 + (5 * floatsin(-240.9189, degrees)), -101.9948 + (5 * floatcos(-240.9189, degrees)), 58.1380);
It just shows a random pos :S i think its behind them can anyone show me how its done?
EDIT:
And how to show the objects/3dText etc when its setting the camera positions?