Car View Problems
#2

This should work:
pawn Код:
new fps[MAX_PLAYERS];
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER)
    {
        fps[playerid] = CreatePlayerObject(playerid, 19300, 0.0000, -1282.9984, 10.1493, 0.0000, -1, -1, 100);
        AttachPlayerObjectToVehicle(playerid, fps[playerid], GetPlayerVehicleID(playerid), -0.314999, -0.195000, 0.510000, 0.000000, 0.000000, 0.000000);
        AttachCameraToPlayerObject(playerid, fps[playerid]);
    }
    return 1;
}
Reply


Messages In This Thread
Car View Problems - by Pboachie - 18.06.2014, 22:16
Re: Car View Problems - by SickAttack - 18.06.2014, 22:38
Re: Car View Problems - by Pboachie - 19.06.2014, 02:38

Forum Jump:


Users browsing this thread: 2 Guest(s)