Event Help.
#2

All u can do is on the callbacks "ExitVehicle" or "StateChange"
U can detect if the player left if so put them back in.
Edit
pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(InEvent[playerid]==1 && newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER) // Replace ur variable for the event
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        PutPlayerInVehicle(playerid,vehicleid);
    }
    return 1;
}
Reply


Messages In This Thread
Event Help. - by ZizPower7610 - 26.03.2013, 11:57
Re: Event Help. - by park4bmx - 26.03.2013, 12:03
Re: Event Help. - by ZizPower7610 - 26.03.2013, 12:17
Re: Event Help. - by ZizPower7610 - 26.03.2013, 12:24
Re: Event Help. - by RajatPawar - 26.03.2013, 12:53

Forum Jump:


Users browsing this thread: 1 Guest(s)