1 Error - 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: 1 Error (
/showthread.php?tid=523948)
1 Error -
Akcent_Voltaj - 04.07.2014
PHP код:
new Float:FloatValue;
===== ERROR LINE ===== new totfuel = VehicleFuel[vehicleid]+FloatValue = float(fuel);
error:
error 022: must be lvalue (non-constant)
Re: 1 Error -
Akcent_Voltaj - 04.07.2014
anyone??
Re: 1 Error -
Akcent_Voltaj - 04.07.2014
plz help mee with error??
Re: 1 Error -
Akcent_Voltaj - 04.07.2014
someone??
Re: 1 Error -
kamiliuxliuxliux - 04.07.2014
Problem is when you use at the ending 'float(fuel);
Re : 1 Error -
Clad - 04.07.2014
pawn Код:
float(fuel) = VehicleFuel[vehicleid]+FloatValue;
Test this
Re: 1 Error -
Akcent_Voltaj - 04.07.2014
how can I fix it??
Re: 1 Error -
Akcent_Voltaj - 04.07.2014
I need totfuel thing.
Re : 1 Error -
Clad - 04.07.2014
Change it by the code which I gave you.
Re: 1 Error -
Akcent_Voltaj - 04.07.2014
new totfuel = float(fuel)= VehicleFuel[vehicleid]+FloatValue;