EITHER ! SScanf Bug or IRC i dunno help me out - 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: EITHER ! SScanf Bug or IRC i dunno help me out (
/showthread.php?tid=313704)
EITHER ! SScanf Bug or IRC i dunno help me out -
Niko_boy - 27.01.2012
I figured out eveything is fine but when i today opened irc script and tried to run it was fine at first after 1-2 hours it stopped responding!
i mean when i do e.g. !getid
it must say !getid <playername>
but it dont and if i do !getid JAGAT it works!
all irc command failing expect 1-2 commands

help me out guys !!
one of my command
Код HTML:
ICMD(achat)
{
if(IRC_IsHalfop(botid, channel ,user))
{
new text[128],IrcText[128];
if(sscanf(params, "s[128]",text)) return IRC_GroupSay(gGroupID,channel, "7Enter A Text !! 11[ !achat [text]");
format(IrcText,sizeof(IrcText),"4Admin %s | Text: %s",user,params[0]);
format(text,sizeof(text),""COL_WHITE"[IRC]Admin "COL_YELLOW"%s "COL_WHITE"| Text: "COL_YELLOW"%s",user,params[0]);
IRC_Say(nBotID[1],channel,IrcText);
foreach(Player, i) {
if(P_Data[i][pAdmin] > 0)
{
SCM(i,COLOR_RED,text);}
}
}
return 1;
}
Re: EITHER ! SScanf Bug or IRC i dunno help me out -
Niko_boy - 27.01.2012
WTF !!! HELP SOMEONE

!!