Check vehicle id
#2

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    new i = GetVehicleModel(vehicleid);
    switch(i)
    {
        case /*list car's not allowed to enter*/: // Eject player and send error message.
        default: // Allow entry.
    }
    return 1;
}
Reply


Messages In This Thread
Check vehicle id - by McBan - 20.06.2015, 17:19
Re: Check vehicle id - by Crayder - 20.06.2015, 18:13
Re: Check vehicle id - by Pottus - 20.06.2015, 19:56

Forum Jump:


Users browsing this thread: 1 Guest(s)