Unknown command - 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 (
/showthread.php?tid=621967)
Unknown command -
Micko123 - 17.11.2016
This error just happened.. Problm is when I type any command it says Unknown command
When I type /aveh it shows textdraws and it is working but it also says unkown command.
Also some commands are working and some not.. I don't get it I am confused..
I have this command
PHP код:
CMD:createorg(playerid, params[])
{
if(PlayerInfo[playerid][Admin] < 5)
{
ERROR(playerid, "You are not allowed to use that command");
return 1;
}
new org, name[33], Float:X, Float:Y, Float:Z, Float:iX, Float:iY, Float:iZ;
if(sscanf(params, "s[33]fff", name, X, Y, Z))
{
USAGE(playerid, "/createorg [Name] [X-int] [Y-int] [Z-int]");
return 1;
}
When I type /create org it says
PHP код:
USAGE: /createorg [Name] [X-int] [Y-int] [Z-int]
And I keep saying that untill i fill all parameters. But as soon as I fill in every parameter it says
Код:
SERVER: Unknown Command
Re: Unknown command -
JaKe Elite - 17.11.2016
Show us the full code of your command.
Re: Unknown command -
Micko123 - 17.11.2016
-FIXED-
I just reduced size of new query[5000] to query[270] xD thx