Small problem regarding RemovePlayerFromVehicle
#4

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && newstate == PLAYER_STATE_DRIVER)
    {
        new vehicle = GetPlayerVehicleID(playerid);
        if(vehicle == 511)
        {
            RemovePlayerFromVehicle(playerid);
            return 1;
        }
    }
    return 1;
}
It's still not working.
Reply


Messages In This Thread
Small problem regarding RemovePlayerFromVehicle - by rangerxxll - 25.05.2013, 01:43
Re: Small problem regarding RemovePlayerFromVehicle - by BpVanshVk - 25.05.2013, 01:54
Re: Small problem regarding RemovePlayerFromVehicle - by BpVanshVk - 25.05.2013, 01:58
Re: Small problem regarding RemovePlayerFromVehicle - by rangerxxll - 25.05.2013, 02:07
Re: Small problem regarding RemovePlayerFromVehicle - by BpVanshVk - 25.05.2013, 02:14
Re: Small problem regarding RemovePlayerFromVehicle - by BpVanshVk - 25.05.2013, 02:20

Forum Jump:


Users browsing this thread: 1 Guest(s)