22.12.2013, 10:13
Look at this (how there add/delete/change models more cars):
PHP код:
//Gangs
new gGangCars[5][5];
new Float:gGangCarSlot[5][5][4] = {
{ //Ballas
{1999.3058,-1142.0822,25.2848,268.7538},
{2005.5760,-1129.2053,25.1319,90.2005},
{2013.6470,-1142.8596,24.9801,269.3301},
{1991.7986,-1119.4169,26.8909,270.1606},
{1992.7858,-1130.2555,25.3148,89.7975}
},
{ //Grove
{2481.9072,-1653.3868,13.2185,88.9954},
{2470.3342,-1666.8761,13.1353,298.0269},
{2471.3022,-1670.6198,13.1605,300.6299},
{2472.9883,-1674.5118,13.1705,303.5992},
{2475.1748,-1677.9551,13.1710,304.7424}
},
{ //Aztecas
{2180.7322,-1811.1013,13.3263,268.6125},
{2171.6680,-1811.2706,13.3234,266.4658},
{2190.3081,-1806.5250,13.3276,359.8308},
{2190.3096,-1797.0596,13.3384,358.6747},
{2179.8062,-1780.1222,13.1667,0.0585}
},
{ //Vagos
{2743.0969,-1163.9275,69.1648,0.9617},
{2742.7861,-1156.6842,69.1657,2.1795},
{2742.6472,-1147.4346,69.2406,0.1250},
{2742.6455,-1139.3926,69.3149,0.0081},
{2717.3364,-1141.9403,69.2320,0.6425}
},
{ //Rifa
{2732.2234,-1936.2267,13.3749,87.9128},
{2729.1311,-1972.0330,13.3747,91.0217},
{2728.6475,-1967.9152,13.3783,90.0126},
{2719.4963,-1957.6360,13.2384,358.2563},
{2719.7668,-1944.2588,13.2355,358.5551}
}
};
new gGangAccess[5][4];
new Float:gGangEnter[5][4] = {
{1999.9148,-1114.0554,27.1250,178.4333},//Ballas
{2486.4348,-1644.5369,14.0772,180.0},//Grove
{2185.8760,-1815.2269,13.5469,3.0872},//Aztec
{2756.1636,-1182.8036,69.4034,358.5783},//Vagos
{2736.6423,-1952.6158,13.5469,90.0}//Rifa
};
new gGangDorm[5][4];
new gGangDormLimit[5];
new gGangCode[5];
new Text3D:gGangDormText[5];
new TotalGz[5];
//Настройки для банд
new gGunAmount[7] = {70,180,200,280,300,380,350}; //SD,Deagle,MP5,Shotgun,M4,AK47,Rifle,Sniper Rifle
new gGunID[7] = {23,24,29,25,30,33,31};
new gGangCarModelID[15] = {412,419,422,474,475,482,491,492,517,534,536,566,567,575,576};
new gGangCarColors[5] = {242,86,2,6,53};
new gGangDormLevel[3][3] = {//
{15000,15000,5000},
{6000,6000,4000},
{10000,10000,7000}
};