Set a players camera inside them?
#1

im trying to set a players camera so they don't see themselves, maybe a little infront of them but im doing it like
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;
}
and it is not changing anything at all, will i need to add values to the x, y and z or what?
Reply


Messages In This Thread
Set a players camera inside them? - by dowster - 11.08.2011, 05:03
Re: Set a players camera inside them? - by linuxthefish - 11.08.2011, 05:28
Re: Set a players camera inside them? - by Scenario - 11.08.2011, 05:32
Re: Set a players camera inside them? - by dowster - 11.08.2011, 05:36

Forum Jump:


Users browsing this thread: 3 Guest(s)