OnPlayerEnterVehicle [+Rep]
#4

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if (newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) {
        if (GetVehicleModel(GetPlayerVehicleID(playerid)) == 451) {
            if (GetPlayerScore(playerid) < 50)
                RemovePlayerFromVehicle(playerid);
        }
    }
    return 1;
}
Try this
Reply


Messages In This Thread
OnPlayerEnterVehicle [+Rep] - by Twinki1993 - 07.02.2012, 21:25
Re: OnPlayerEnterVehicle [+Rep] - by genesis87 - 07.02.2012, 21:33
Re: OnPlayerEnterVehicle [+Rep] - by _ReloadeD_ - 07.02.2012, 21:34
Re: OnPlayerEnterVehicle [+Rep] - by Nonameman - 07.02.2012, 21:38
Re: OnPlayerEnterVehicle [+Rep] - by Twinki1993 - 07.02.2012, 21:38
Re: OnPlayerEnterVehicle [+Rep] - by Nonameman - 07.02.2012, 21:43
Re: OnPlayerEnterVehicle [+Rep] - by iTorran - 07.02.2012, 21:43
Re: OnPlayerEnterVehicle [+Rep] - by Twinki1993 - 07.02.2012, 21:58
Re: OnPlayerEnterVehicle [+Rep] - by Tanush123 - 07.02.2012, 22:32
Re: OnPlayerEnterVehicle [+Rep] - by Nonameman - 08.02.2012, 13:52

Forum Jump:


Users browsing this thread: 1 Guest(s)