Seriously Confused - 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: Seriously Confused (
/showthread.php?tid=416723)
Seriously Confused -
nmader - 18.02.2013
Hello yet again SA:MP community,
I have been having an issue when tinkering around with a filterscript. I have the filterscript implemented into my gamemode and that as well as the filterscript.
Now, they have the same exact code in each, but for some reason in one -the filterscript- there is no warnings whatsoever when in the gamemode there is on these lines:
pawn Код:
if(floatround(CarInfo[vehicleid][Fuel]) <= 0 || CarInfo[vehicleid][Fuel] - GetPlayerSpeed(playerid) * FUEL_DECREASE / 100 < 0) //Line 27657
CarInfo[vehicleid][Fuel] = CarInfo[vehicleid][Fuel] - GetPlayerSpeed(playerid) * FUEL_DECREASE / 100; //Line 27667
I am receiving these warnings -which preventing a value to be returned:
pawn Код:
C:\Users\namder\Desktop\Lost Life Roleplay\gamemodes\Lost.pwn(27657) : warning 202: number of arguments does not match definition
C:\Users\namder\Desktop\Lost Life Roleplay\gamemodes\Lost.pwn(27667) : warning 202: number of arguments does not match definition
I am genuinely confused, so any help provided will be GREATLY appreciated, thanks!
Re: Seriously Confused -
PabloDiCostanzo - 18.02.2013
THIS can help you?