Hallo User,
ich habe ein License system gemacht. hatt jemand vlt was aus seinem script wo die vehicle ids drin sind
danke im Voraus
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(GetVehicleModel(vehicleid) == 581||GetVehicleModel(vehicleid) == 522||GetVehicleModel(vehicleid) == 461||GetVehicleModel(vehicleid) == 521||GetVehicleModel(vehicleid) == 523||GetVehicleModel(vehicleid) == 463||GetVehicleModel(vehicleid) == 586||GetVehicleModel(vehicleid) == 468)
{
if(PlayerInfo[playerid][BikeL] != 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,Rot,"Du hast keinen Motorradschein");
}
}
{
if(PlayerInfo[playerid][CarL] != 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,Rot,"Du hast keinen Auto-Fühererschein");
}
}
{
if(PlayerInfo[playerid][FlyL] != 1)
{
RemovePlayerFromVehicle(playerid);
SendClientMessage(playerid,Rot,"Du hast keinen Flugschein");
}
}
return 1;
}