View Single Post
Old 11/08/2011, 06:03 AM   #1
dowster
Gangsta
 
dowster's Avatar
 
Join Date: Jun 2010
Location: San Fierro
Posts: 631
Reputation: 69
Default Set a players camera inside them?

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?
__________________
dowster is offline