public Startup(playerid, vehicleid) { if(GetVehicleModel(vehicleid) == 476 || GetVehicleModel(vehicleid) == 520 || GetVehicleModel(vehicleid) == 425 || GetVehicleModel(vehicleid) == 447 || GetVehicleModel(vehicleid) == 469 || GetVehicleModel(vehicleid) == 432) //sultan { RemovePlayerFromVehicle(playerid); TogglePlayerControllable(playerid, 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "You cannot drive this vehicle!"); } if(GetVehicleModel(vehicleid) == 560) //sultan { if(PlayerInfo[playerid][pLawSkill] != 7000) { //vehicleEntered[playerid][vehicleid] = true; RemovePlayerFromVehicle(playerid); TogglePlayerControllable(playerid, 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "You can't drive in a sultan yet! You need drift level 5!"); } } if(GetVehicleModel(vehicleid) == 562) //sultan { if(PlayerInfo[playerid][pLawSkill] != 4000) { //vehicleEntered[playerid][vehicleid] = true; RemovePlayerFromVehicle(playerid); TogglePlayerControllable(playerid, 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "You can't drive in a Elegy yet! You need drift level 3!"); } } if(GetVehicleModel(vehicleid) == 411) //sultan { if(PlayerInfo[playerid][pLawSkill] != 2500) { //vehicleEntered[playerid][vehicleid] = true; RemovePlayerFromVehicle(playerid); TogglePlayerControllable(playerid, 1); SendClientMessage(playerid, COLOR_LIGHTBLUE, "You can't drive in this car yet! You need drift level 2!"); } } return 1; }
Originally Posted by MaVe - leeturl.de
Keep your GODDAMN Godfather topics in the GODDAMN Godfather topic
|