Got a problem almost every command is not working just returning.. -
FujiNNN - 11.04.2010
hello, i've got a problem almost every command is not working just returning..
i added
pawn Код:
format(string,sizeof(string),"SERVER: *The command '%s' is none",cmd);
return SendClientMessage(playerid,COLOR_GREY,string);
every command:
pawn Код:
if(strcmp(cmdtext, "/hello", true) == 0)
i dont know what to do.. and when i use just return 1; in the end of the public it's just returning the command (not writing nothing..)
what can i do to fix the situation?.. thanks...
Re: Got a problem almost every command is not working just returning.. -
M4S7ERMIND - 11.04.2010
Quote:
Originally Posted by FujiNNN
almost every command is not working just returning..
|
What do you mean by that.. not working but returning what exactly?
Re: Got a problem almost every command is not working just returning.. -
Backwardsman97 - 11.04.2010
Yeah you should show one of the commands not working.
Re: Got a problem almost every command is not working just returning.. -
FujiNNN - 11.04.2010
Quote:
Originally Posted by Backwardsman97
Yeah you should show one of the commands not working.
|
they all not working
if like i would type /help
it will say '/help command is not exist'
Re: Got a problem almost every command is not working just returning.. -
Backwardsman97 - 11.04.2010
Are you running any filterscripts?
Re: Got a problem almost every command is not working just returning.. -
FujiNNN - 11.04.2010
yes but the dont have nothing to do with at i've already checked.
because i've changed only the GM and it's started to give me that thing..
Re: Got a problem almost every command is not working just returning.. -
boelie - 11.04.2010
you need to make return 1; after every command
Re: Got a problem almost every command is not working just returning.. -
FujiNNN - 11.04.2010
Quote:
Originally Posted by boelie
you need to make return 1; after every command
|
i know it's setted already..
Re: Got a problem almost every command is not working just returning.. -
Backwardsman97 - 11.04.2010
And you need to make return 0 at the bottom of your script.
Re: Got a problem almost every command is not working just returning.. -
FujiNNN - 11.04.2010
Quote:
Originally Posted by Backwardsman97
And you need to make return 0 at the bottom of your script.
|
if it's return 0; it's says SERVER: unknown command...
if it's return blablabla; it will wrote blablabla..
basically it will write what ever but not the function of the command...