18.02.2013, 02:23
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:
I am receiving these warnings -which preventing a value to be returned:
I am genuinely confused, so any help provided will be GREATLY appreciated, thanks!
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
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
