Ivab
Дебютант
После загрузки БП/разгрузки БП, когда Вы садитесь за руль машины должно появляться окошко с текстом "Вы хотите прекратить загрузку боеприпасов в грузовик?", но это не работает. Где ошибка?
Мод Brilliant-RP
if(gVehicleGun[vehicleid][vGunLoading] || gVehicleGun[vehicleid][vGunUnloading])
{
if(vehicleid >= aArmy1[0] && vehicleid <= aArmy2[1] && pData[playerid][pFraction] != 8) return 1;
if(vehicleid >= aLSPD[0] && vehicleid <= aLVPD[1] && pData[playerid][pFraction] != 9) return 1;
ShowPlayerDialog(playerid,dStopLoad,0,"Погрузка","{"#cWHITE"}Вы хотите прекратить загрузку боеприпасов в грузовик?","Да","Нет");
}
SetPVarInt(playerid, "vehid", GetPlayerVehicleID(playerid));
if(vehicleid) gVehicleDriver[vehicleid-1] = playerid;
gVehicles[GetPlayerVehicleID(playerid) - 1][vOccupied] = true;
{
if(vehicleid >= aArmy1[0] && vehicleid <= aArmy2[1] && pData[playerid][pFraction] != 8) return 1;
if(vehicleid >= aLSPD[0] && vehicleid <= aLVPD[1] && pData[playerid][pFraction] != 9) return 1;
ShowPlayerDialog(playerid,dStopLoad,0,"Погрузка","{"#cWHITE"}Вы хотите прекратить загрузку боеприпасов в грузовик?","Да","Нет");
}
SetPVarInt(playerid, "vehid", GetPlayerVehicleID(playerid));
if(vehicleid) gVehicleDriver[vehicleid-1] = playerid;
gVehicles[GetPlayerVehicleID(playerid) - 1][vOccupied] = true;
Последнее редактирование:
