onPlayerEnterVehicle message doesnt work
#2

Try this, you have to check for the modelid of the vehicle:
Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) 
{ 
    new vehicle; 
    vehicle = GetPlayerVehicleID(playerid); 
    if(GetVehicleModel(vehicle) == 604) 
    { 
        SendClientMessage(playerid, 4, "Your are in a damaged Vehicle."); 
        return 1; 
    } 
    return 1; 
}
Reply


Messages In This Thread
onPlayerEnterVehicle message doesnt work - by Pepino960 - 22.04.2014, 13:48
Re: onPlayerEnterVehicle message doesnt work - by Conradus - 22.04.2014, 13:50
Re: onPlayerEnterVehicle message doesnt work - by Konstantinos - 22.04.2014, 13:58
Re: onPlayerEnterVehicle message doesnt work - by Conradus - 22.04.2014, 14:02
Re: onPlayerEnterVehicle message doesnt work - by Pepino960 - 22.04.2014, 14:07

Forum Jump:


Users browsing this thread: 1 Guest(s)