13.04.2011, 16:59
It looks like you're comparing the vehicle ID to the model ID, which won't work? You should be checking the model ID! For example:
pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (GetVehicleModel(vehicleid) == 403) // False
{
print("The player entered a Linerunner! ");
}
else if (GetVehicleModel(vehicleid) == 597) // False
{
print("The player entered a vehicle other than the linerunner!");
}
return 1;
}

