SA-MP Forums Archive
Unknown Command like WTF? - 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: Unknown Command like WTF? (/showthread.php?tid=631310)



Unknown Command like WTF? - Crystallize - 26.03.2017

So basically I wrote a filterscript and using izcmd and the command wont get processed will say "Unknown command"
Код:
CMD:test(playerid, params[]) 
{
 SendClientMessage(playerid,-1,"TEST");
 return 1;
 }
Using <a_mysql> too... why would it say this...
even with strcmp it will say the same lol


Re: Unknown Command like WTF? - Bolex_ - 26.03.2017

You got something like ?

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
	if(!success) SendClientMessageEx(playerid, -1, "Unknown command");
	return 1;
}



Re: Unknown Command like WTF? - Crystallize - 26.03.2017

Quote:
Originally Posted by Scripter18
Посмотреть сообщение
You got something like ?

Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success) 
{
    if (!success) {
        //Keep going here
    }
}
I don't have it on my fs.


Re: Unknown Command like WTF? - Bolex_ - 26.03.2017

Did you include izcmd in filterscript ?


Re: Unknown Command like WTF? - Crystallize - 26.03.2017

Quote:
Originally Posted by Scripter18
Посмотреть сообщение
Did you include izcmd in filterscript ?
Yes else it wouldn't compile..


Re: Unknown Command like WTF? - Dayrion - 26.03.2017

Any report with crashdetect plugin?


Re: Unknown Command like WTF? - TopShooter2 - 26.03.2017

Make sure you ain't using the normal a_samp commands in the gamemode or any other filterscript you are using.


Re: Unknown Command like WTF? - Crystallize - 26.03.2017

Fixed by loading sscanf streamer and mysql plugin , tiny mistake lol.