ZCMD wont detect my commands
#10

Quote:
Originally Posted by Kingunit
Посмотреть сообщение
Already see it - it's like this:

pawn Код:
CMD:test(playerid, params[])
{
    // Here your command fex. SendClientMessage...
    return 1;
}
AND NOT

pawn Код:
cmd(Help,playerid, params[])
{
SendClientMessage(playerid,COLOR_WHITE,""#COL_LOGIN"» /Commands");
return 1;
}
By the way, use some tabs.
Im gonna try to use it that way (again), and i use Tabs wherever i can to organize me Gamemode script, but im lazy to tab up the scripts i copy.

EDIT: Didn't work. i had another idea. checkin every include and filterscript i have for OnPlayerCommandText and gonna replace that with the ZCMD callback(s). Reporting as soon as i can.

EDIT2:
Код:
// Note that the callback thing won't work with OnPlayerCommandText as it has a
//different default return to everything else.
Retrieved from Y_MASTER. Even though it only says wstuff about return(my gm returns 1 same way) he may have modded something else.

trying to remove from include list and execute commands. hold on.

EDIT3:
Nothing. im almost killing myself here. gosh D:. ima try to run ZCMD as a Filterscript.

EDIT4:

DIDN'T WORK

EDIT5:

I ran some tests made by myself to figure what was causing the problem and i saw that the commands arent even being added because OnPlayerCommandPerformed always returns 0 on Success. it seems the commands arent even being added -.-.
Reply


Messages In This Thread
ZCMD wont detect my commands - by henry jiggy - 04.09.2011, 18:21
Re: ZCMD wont detect my commands - by Jafet_Macario - 04.09.2011, 18:23
Re: ZCMD wont detect my commands - by =WoR=Varth - 04.09.2011, 18:26
Re: ZCMD wont detect my commands - by henry jiggy - 04.09.2011, 18:39
Re: ZCMD wont detect my commands - by =WoR=Varth - 04.09.2011, 18:42
Re: ZCMD wont detect my commands - by henry jiggy - 04.09.2011, 18:44
Re: ZCMD wont detect my commands - by =WoR=Varth - 04.09.2011, 18:48
Re: ZCMD wont detect my commands - by henry jiggy - 04.09.2011, 18:50
Re: ZCMD wont detect my commands - by Kingunit - 04.09.2011, 20:54
Re: ZCMD wont detect my commands - by henry jiggy - 04.09.2011, 23:40

Forum Jump:


Users browsing this thread: 1 Guest(s)