14.05.2010, 21:39
if used this code:
in OnPlayerUpdate.
try it in your mode and see: its not working !
i can't set the camera pos.
i want the camera to be away from the player...
edit:
i now know the promlem:
i should do:
tnk...
Код:
new Float:P[3]; GetPlayerPos(playerid,P[0],P[1],P[2]); GetXYInfrontOfPlayer(playerid,P[0],P[1],20.0); SetPlayerCameraPos(playerid,P[0],P[1],P[2]);
try it in your mode and see: its not working !
i can't set the camera pos.
i want the camera to be away from the player...
edit:
i now know the promlem:
i should do:
Код:
SetPlayerCameraPos(playerid,P[0],P[1],P[2]); SetPlayerCameraLookAt(playerid,P[0],P[1],P[2]);