22.04.2014, 13:50
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; }