приветствую, у меня при компиляции мода возникло "пару" ошибок:
squarerp.pwn(6226) : error 048: array dimensions do not match
squarerp.pwn(6227) : error 048: array dimensions do not match
squarerp.pwn(6228) : error 048: array dimensions do not match
squarerp.pwn(6229) : error 048: array dimensions do not match
squarerp.pwn(6230) : error 048: array dimensions do not match
squarerp.pwn(6231) : error 048: array dimensions do not match
squarerp.pwn(6232) : error 048: array dimensions do not match
squarerp.pwn(6233) : error 048: array dimensions do not match
squarerp.pwn(6237) : error 048: array dimensions do not match
squarerp.pwn(6238) : error 048: array dimensions do not match
squarerp.pwn(6239) : error 048: array dimensions do not match
squarerp.pwn(6240) : error 048: array dimensions do not match
squarerp.pwn(6241) : error 048: array dimensions do not match
squarerp.pwn(6242) : error 048: array dimensions do not match
squarerp.pwn(6243) : error 048: array dimensions do not match
squarerp.pwn(6244) : error 048: array dimensions do not match
squarerp.pwn(6458) : error 048: array dimensions do not match
squarerp.pwn(6459) : error 048: array dimensions do not match
squarerp.pwn(6561) : error 048: array dimensions do not match
squarerp.pwn(6562) : error 048: array dimensions do not match
squarerp.pwn(6563) : error 048: array dimensions do not match
строки от 6226 до 6233:
Код
UpdatePlayerData(playerid, "VehicleSpoiler", PlayerInfo[playerid][P_VehicleSpoiler][0]);
UpdatePlayerData(playerid, "VehicleNitro", PlayerInfo[playerid][P_VehicleNitro][0]);
UpdatePlayerData(playerid, "VehicleRoof", PlayerInfo[playerid][P_VehicleRoof][0]);
UpdatePlayerData(playerid, "VehicleHood", PlayerInfo[playerid][P_VehicleHood][0]);
UpdatePlayerData(playerid, "VehicleWheels", PlayerInfo[playerid][P_VehicleWheels][0]);
UpdatePlayerData(playerid, "VehicleHydraulics", PlayerInfo[playerid][P_VehicleHydraulics][0]);
UpdatePlayerData(playerid, "VehicleColor1", PlayerInfo[playerid][VehicleColor1][0]);
UpdatePlayerData(playerid, "VehicleColor2", PlayerInfo[playerid][VehicleColor2][0]);
строки от 6237 до 6244:
Код
UpdatePlayerData(playerid, "VehicleSpoiler2", PlayerInfo[playerid][P_VehicleSpoiler][1]);
UpdatePlayerData(playerid, "VehicleNitro2", PlayerInfo[playerid][P_VehicleNitro][1]);
UpdatePlayerData(playerid, "VehicleRoof2", PlayerInfo[playerid][P_VehicleRoof][1]);
UpdatePlayerData(playerid, "VehicleHood2", PlayerInfo[playerid][P_VehicleHood][1]);
UpdatePlayerData(playerid, "VehicleWheels2", PlayerInfo[playerid][P_VehicleWheels][1]);
UpdatePlayerData(playerid, "VehicleHydraulics2", PlayerInfo[playerid][P_VehicleHydraulics][1]);
UpdatePlayerData(playerid, "VehicleColor12", PlayerInfo[playerid][VehicleColor1][1]);
UpdatePlayerData(playerid, "VehicleColor22", PlayerInfo[playerid][VehicleColor2][1]);
строки от 6458 до 6459:
Код
UpdatePlayerData(playerid, "p_veh_number0", PlayerInfo[playerid][p_veh_number][0]);
UpdatePlayerData(playerid, "p_veh_number1", PlayerInfo[playerid][p_veh_number][1]);
строки от 6561 до 6563:
Код
UpdatePlayerData(playerid, "p_plane", PlayerInfo[playerid][p_plane]);
UpdatePlayerData(playerid, "p_plane_color", PlayerInfo[playerid][p_plane_color][0]);
UpdatePlayerData(playerid, "p_plane_color2", PlayerInfo[playerid][p_plane_color][1]);
весь этот код находится в case'ах.
прошу помочь, в долгу не останусь.Добавлено (30.09.2018, 20:18)
---------------------------------------------
UPD: проблему решил.