commands work but still say 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: commands work but still say unknown command (
/showthread.php?tid=268077)
commands work but still say unknown command - suhrab_mujeeb - 11.07.2011
Remove.
Re: commands work but still say unknown command -
[HiC]TheKiller - 11.07.2011
pawn Код:
if(IsPlayerAdmin)
{
if(strcmp("/test", cmdtext, true) == 0)
{
Function
return 1;
}
}
Remember that you need to return 1 so that it is registered as a cmd.
Re: commands work but still say unknown command - suhrab_mujeeb - 13.07.2011
Remove.