#1

Well i made the system for admins to read the commands, now how can i skip commands /register /login and all that?

I tried with strcmp, didn't work if there was a param, tried with cmd_register(playerid, cmdtext) didn't work, it would have executed the command....


here is the code i have on OnPlayerCommandPerformed(playerid, cmdtext[], success)
pawn Код:
if( success == 1 && S_DATA[ S_ReadCMDS ] == 1/*strcmp(cmdtext, "/register", false )*/)
        FormMessageForAdmins( COLOR_GREY, " %s used command %s ", PlayerName2( playerid ), cmdtext);
Is there a way ? Please leave a reply. Thanks!
Reply


Messages In This Thread
ZCMD - by Zh3r0 - 18.09.2010, 12:45
Re: ZCMD - by Retardedwolf - 18.09.2010, 13:25
Re: ZCMD - by woot - 18.09.2010, 13:27
Re: ZCMD - by Zh3r0 - 18.09.2010, 13:31
Re: ZCMD - by woot - 18.09.2010, 13:33
Re: ZCMD - by wups - 18.09.2010, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)