Hello sziasztok, a lényegre török, mert egész nap ezeknél vagyok leragadva. Kérlek srácok, ha valaki tud ezekre valamit, az segítsen. :confused:
C:\\Users\\***\\pawno\\include\\seif_walk.inc(44) : warning 201: redefinition of constant/macro (symbol \"OnPlayerKeyStateChange\")
C:\\Users\\***.pwn(3011) : warning 203: symbol is never used: \"vehicleID\"
C:\\Users\\***.pwn(3056) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
[/quote]
3011: (Azt tudom, hogy ez mit jelent, de ha \'vehicleID\'-t kiveszem, kapok máshol 3 errort.)
stock VehiclePath(vehicleID)
{
new strPath[64];
format(strPath, sizeof(strPath), \"/Vehicle/%d.ini\");
return strPath;
}
3056:
stock VehicleLoad(idx, file[])
{
INI_ParseFile(file, \"LoadVehicleData\", .bExtra = true, .extra = idx);
VehicleCreate(CarInfo[idx][cModel], CarInfo[idx][cLoc], CarInfo[idx][cSzin1], CarInfo[idx][cSzin2],
CarInfo[idx][cMegveve], CarInfo[idx][cTulaj], CarInfo[idx][cInt], CarInfo[idx][cWorld], CarInfo[idx][cZar],
CarInfo[idx][cAra], CarInfo[idx][cSerules], CarInfo[idx][cPaintjob], CarInfo[idx][cTuning],
CarInfo[idx][cLehetosegek], CarInfo[idx][cAllapot], CarInfo[idx][cLeteve]);
}
Hello sziasztok, a lényegre török, mert egész nap ezeknél vagyok leragadva. Kérlek srácok, ha valaki tud ezekre valamit, az segítsen. :confused:
C:\\Users\\***\\pawno\\include\\seif_walk.inc(44) : warning 201: redefinition of constant/macro (symbol \"OnPlayerKeyStateChange\")
C:\\Users\\***.pwn(3011) : warning 203: symbol is never used: \"vehicleID\"
C:\\Users\\***.pwn(3056) : error 047: array sizes do not match, or destination array is too small
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
[/quote]
3011: (Azt tudom, hogy ez mit jelent, de ha \'vehicleID\'-t kiveszem, kapok máshol 3 errort.)
stock VehiclePath(vehicleID)
{
new strPath[64];
format(strPath, sizeof(strPath), \"/Vehicle/%d.ini\");
return strPath;
}
3056:
stock VehicleLoad(idx, file[])
{
INI_ParseFile(file, \"LoadVehicleData\", .bExtra = true, .extra = idx);
VehicleCreate(CarInfo[idx][cModel], CarInfo[idx][cLoc], CarInfo[idx][cSzin1], CarInfo[idx][cSzin2],
CarInfo[idx][cMegveve], CarInfo[idx][cTulaj], CarInfo[idx][cInt], CarInfo[idx][cWorld], CarInfo[idx][cZar],
CarInfo[idx][cAra], CarInfo[idx][cSerules], CarInfo[idx][cPaintjob], CarInfo[idx][cTuning],
CarInfo[idx][cLehetosegek], CarInfo[idx][cAllapot], CarInfo[idx][cLeteve]);
}