SA-MP Forums Archive
Set Camera Facing Angle in player back - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Set Camera Facing Angle in player back (/showthread.php?tid=364682)



Set Camera Facing Angle in player back - kbalor - 31.07.2012

More info: How do I set the camera facing angle in my back so I can see the front view if I spawn?

Here's a example to edit..

pawn Код:
CMD:cj(playerid, params[])
{
    SetPlayerPos(playerid, 2495.8655,-1707.7054,1014.7422);
    SetPlayerFacingAngle(playerid, 0.0);
    SetPlayerInterior(playerid, 3);
    DestroyVehicle(GetPlayerVehicleID(playerid));
    new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, MAX_PLAYER_NAME);
    format(string, sizeof(string), "{6666FF}(/cj) {00CCFF}%s {6666FF}has Teleported to Johnson House",pName);
    SendClientMessageToAll(0x6666FFFF, string);
    SetPlayerVirtualWorld(playerid, 0);
    return GameTextForPlayer(playerid,"~y~Welcome to ~n~~b~Johnson House House",2000,3);
}


It should look like this...



Re: Set Camera Facing Angle in player back - Larceny - 31.07.2012

SetCameraBehindPlayer?


Re: Set Camera Facing Angle in player back - kbalor - 31.07.2012

Quote:
Originally Posted by RuiGy
Посмотреть сообщение
But it always facing the north -_-