Don_Bonanno Posted April 14, 2013 Posted April 14, 2013 Salut.Am pus niste masini pentru factiuni,si imi da 86 de erori ,toate cu : number of arguments does not match definition hitmencar[0] = AddStaticVehicleEx(579,1354.7737,-248.3715,1.2208,188.6421); hitmencar[1] = AddStaticVehicleEx(579,1367.4618,-245.8845,1.2238,188.5550); hitmencar[2] = AddStaticVehicleEx(579,1381.1656,-244.0809,1.2232,187.3744); hitmencar[3] = AddStaticVehicle(560,1434.8993,-258.7898,0.9961,96.8384); hitmencar[4] = AddStaticVehicleEx(560,1437.0170,-271.9040,0.9964,96.8905); hitmencar[5] = AddStaticVehicleEx(560,1435.0675,-245.1585,0.9966,96.9247); hitmencar[6] = AddStaticVehicleEx(487,1395.8687,-275.1929,1.4529,67.3238); hitmencar[7] = AddStaticVehicleEx(487,1374.7115,-278.6450,1.4382,308.7378); hitmencar[8] = AddStaticVehicleEx(522,1364.4950,-303.1732,0.8758,5.7974); hitmencar[9] = AddStaticVehicleEx(522,1362.4805,-303.3932,0.8631,6.0878); hitmencar[10] = AddStaticVehicleEx(402,1357.5188,-304.2155,1.1229,6.4667); hitmencar[12] = AddStaticVehicleEx(402,1351.4645,-305.0310,1.1227,7.2527); hitmencar[13] = AddStaticVehicleEx(411,1319.6451,-293.4877,1.0182,317.2656); hitmencar[14] = AddStaticVehicleEx(475,1316.3130,-289.4378,1.0941,314.8726); hitmencar[15] = AddStaticVehicleEx(475,1312.3577,-285.6897,1.0963,314.8662);Si armycar[0] = AddStaticVehicleEx(470,-1980.7933,-1458.7427,87.4255,148.2330); // armycar[1] = AddStaticVehicleEx(470,-1985.7502,-1455.6450,87.6030,148.1971); // armycar[2] = AddStaticVehicleEx(470,-1990.6245,-1452.6133,87.6558,147.6785); // armycar[3] = AddStaticVehicleEx(433,-1980.7939,-1487.6844,86.4002,176.8269); // armycar[4] = AddStaticVehicleEx(433,-1979.8009,-1475.2717,86.7769,176.9128); // armycar[5] = AddStaticVehicleEx(433,-2013.1927,-1480.3684,84.1142,229.0228); // armycar[6] = AddStaticVehicleEx(433,-2011.1804,-1488.9706,83.9837,230.8333); // armycar[7] = AddStaticVehicleEx(470,-2005.1229,-1580.8167,86.3159,224.6604); // armycar[8] = AddStaticVehicleEx(470,-2004.5060,-1576.2979,86.1937,222.4408); // armycar[9] = AddStaticVehicleEx(470,-2004.0768,-1571.0590,86.2456,221.8252); // armycar[10] = AddStaticVehicleEx(470,-1985.9348,-1575.0938,86.8666,155.6166); // armycar[11] = AddStaticVehicleEx(470,-1988.0668,-1570.9052,86.6027,152.7894); // armycar[12] = AddStaticVehicleEx(470,-1990.5465,-1566.6102,86.3070,157.2165); // armycar[13] = AddStaticVehicleEx(471,-1976.7563,-1583.3250,87.2307,162.2426,68,68); // armycar[14] = AddStaticVehicleEx(471,-1973.1586,-1585.1364,87.1898,153.2574,68,68); //Imi dau la toate : number of arguments does not match definitionCe pot sa le fac ?Am pus la inceput :new armycar[15];new hitmencar[16];.amx-ul nu dispare,dar daca il pun pe host nu merge..prea multe erori..Ce pot face ?
DarkyTheAngel Posted April 14, 2013 Posted April 14, 2013 AddStaticVehicleEx are un numar de 8 argumente iar in liniile postate de tine sunt doar 5 argumente.Ex:hitmencar [ 0 ] = AddStaticVehicleEx ( 579 , 1354.7737 , -248.3715 , 1.2208 , 188.6421 ) ;Ar trebui sa arate asa:hitmencar [ 0 ] = AddStaticVehicleEx ( 579 , 1354.7737 , -248.3715 , 1.2208 , 188.6421 , 0 , 1 , 15 ) ;
Don_Bonanno Posted April 14, 2013 Author Posted April 14, 2013 Pot pune la toate asa ?cu 0, 1 ,15 la final ? Si cu spatiu intre hitmancar si [ ? adica hitmancar [ ] =
DarkyTheAngel Posted April 14, 2013 Posted April 14, 2013 Pot pune la toate asa ?cu 0, 1 ,15 la final ? Si cu spatiu intre hitmancar si [ ? adica hitmancar [ ] =Da, poti pune.0 - culoare1 - culoare15 - timpul de generare fara un sofer
Question
Don_Bonanno
Salut.
Am pus niste masini pentru factiuni,si imi da 86 de erori ,toate cu : number of arguments does not match definition
Si
Imi dau la toate : number of arguments does not match definition
Ce pot sa le fac ?
Am pus la inceput :
new armycar[15];
new hitmencar[16];
.amx-ul nu dispare,dar daca il pun pe host nu merge..prea multe erori..Ce pot face ?
4 answers to this question
Recommended Posts