Got a problem almost every command is not working just returning..
#1

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

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?
Reply
#3

Yeah you should show one of the commands not working.
Reply
#4

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'
Reply
#5

Are you running any filterscripts?
Reply
#6

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

you need to make return 1; after every command
Reply
#8

Quote:
Originally Posted by boelie
you need to make return 1; after every command
i know it's setted already..
Reply
#9

And you need to make return 0 at the bottom of your script.
Reply
#10

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


Forum Jump:


Users browsing this thread: 1 Guest(s)