SA-MP Forums Archive
X337 GANG - 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: X337 GANG (/showthread.php?tid=634510)



X337 GANG - Stop - 20.05.2017



i am having a prob in this

my inc folder pic



I am using YSI 4

and Mysql r39-2

But i don't know how to fix it :/

+rep in advance


Re: X337 GANG - YouHack - 20.05.2017

Show the lines where there are errors.


Re: X337 GANG - Stop - 20.05.2017

Quote:
Originally Posted by YouHack
Посмотреть сообщение
Show the lines where there are errors.
Код:
Line 335 : if(sscanf(params, "h", color) || strlen(params) != 6)
Line 357 :   if(sscanf(params, "u", id))
Line 550 	if(sscanf(params, "s[30]", TempName))
Line 576 : 	if(sscanf(params, "u", id))
Line 618 :  		if(sscanf(params, "u", id))
Line 692 : 		if(sscanf(params, "d", p))
Line 843 : 		if(sscanf(params, "d", p))
Line 892 :		if(sscanf(params, "d", p))
Line 1250:	if(sscanf(inputtext, "h", TempGangColour[playerid]))
Here Pls help me


Re: X337 GANG - Aly - 20.05.2017

Is "params" a string?
Are you using something like this?
Код:
CMD:mycmd(playerid, params[])
{
    new color;
    if(sscanf(params, "h", color))
}



Re: X337 GANG - YouHack - 20.05.2017

Read this documentaion:
https://sampwiki.blast.hk/wiki/Fast_Commands#sscanf


Re: X337 GANG - Logic_ - 20.05.2017

Are you using the latest SSCANF include? Make sure you've the correct includes.