Litle problem :) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Litle problem :) (
/showthread.php?tid=599417)
Litle problem :) -
Jabern - 25.01.2016
Hi , i try to create a Multi-mode Gamemode but i have an error in my vehicle save system :
PHP код:
for(new i = 0; i < 4; i++) format(strLoc, sizeof(strLoc), "Loc%d", i), INI_Float(strLoc, VehicleInfo[vehicleID][vLoc][i]);
PHP код:
error 029: invalid expression, assumed zero
error 001: expected token: ";", but found "return"
error 017: undefined symbol "i"
fatal error 107: too many error messages on one line
Re: Litle problem :) -
Sascha - 25.01.2016
Код:
for(new i = 0; i < 4; i++)
{
format(strLoc, sizeof(strLoc), "Loc%d", i);
INI_Float(strLoc, VehicleInfo[vehicleID][vLoc][i]);
}
try this and see which line causes the error