onplayercommandtext problem
#1

I use zcmd, but does not detect the public OnPlayerCommandText(playerid,cmdtext[]) , what's wrong?

pl.
this says unknown command.
Код:
if (strcmp("/animlist", cmdtext, true, 10) == 0)
	{
		SendClientMessage(playerid, COLOR_BLUE, "/anim-crossarms |");
        return 1;
	}
so you can use.
Код:
CMD:animlist(playerid, params[])
	{
		SendClientMessage(playerid, COLOR_BLUE, "/anim-crossarms |");
        return 1;
	}
why is it wrong? Anyone?
Reply


Messages In This Thread
onplayercommandtext problem - by Slicebook - 24.05.2014, 11:41
Re: onplayercommandtext problem - by SilentSoul - 24.05.2014, 11:50
Re: onplayercommandtext problem - by Stanford - 24.05.2014, 12:04
Re: onplayercommandtext problem - by Slicebook - 24.05.2014, 12:20

Forum Jump:


Users browsing this thread: 1 Guest(s)