Seriously Confused
#1

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!
Reply
#2

THIS can help you?
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)