11.08.2011, 05:03
im trying to set a players camera so they don't see themselves, maybe a little infront of them but im doing it like
and it is not changing anything at all, will i need to add values to the x, y and z or what?
pawn Code:
public OnPlayerUpdate(playerid)
{
new Float:x, Float:y, Float:z; /*, Float:cx, Float:cy, Float:cz*/
GetPlayerPos(playerid, x, y, z);
SetPlayerCameraPos(playerid, x, y, z);
//GetPlayerCameraFrontVector(playerid, cx, cy, cz);
//SetPlayerCameraLookAt(playerid, cx, cy, cz);
return 1;
}