Set Camera Facing Angle in player back
#1

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...
Reply
#2

SetCameraBehindPlayer?
Reply
#3

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


Forum Jump:


Users browsing this thread: 1 Guest(s)