Help for Tram
#8

As I read before with Camera
pawn Код:
public OnPlayerExitVehicle(playerid, vehicleid)
{
    if(vehicleid == tram) {
        new
            playerState = GetPlayerState(playerid);
        if (playerState == PLAYER_STATE_PASSENGER || playerState == PLAYER_STATE_DRIVER) {
            tram = GetPlayerVehicleID(playerid);
            new
                Float:vehx, Float:vehy, Float:vehz;
            GetVehiclePos(tram, vehx, vehy, vehz);
            SetPlayerPos(playerid, vehx+1, vehy+1, vehz);
            SetCameraBehindPlayer(playerid);
        }
    }
    return 1;
}
This is my last. I am out of other ways
Reply


Messages In This Thread
Help for Tram - by Join7 - 16.11.2011, 13:46
Re: Help for Tram - by Sinner - 16.11.2011, 14:02
Re: Help for Tram - by Join7 - 16.11.2011, 14:06
Re: Help for Tram - by Kostas' - 16.11.2011, 16:57
Re: Help for Tram - by Join7 - 16.11.2011, 17:14
Re: Help for Tram - by Kostas' - 16.11.2011, 17:23
Re: Help for Tram - by Join7 - 16.11.2011, 17:30
Re: Help for Tram - by Kostas' - 16.11.2011, 17:34
Re: Help for Tram - by Join7 - 16.11.2011, 17:41
Re: Help for Tram - by MP2 - 16.11.2011, 17:56

Forum Jump:


Users browsing this thread: 1 Guest(s)