Unknown Command like WTF?
#1

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

You got something like ?

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

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.
Reply
#4

Did you include izcmd in filterscript ?
Reply
#5

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

Any report with crashdetect plugin?
Reply
#7

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)