DCMD !!! Cant change commands
#2

Code:
dcmd(login,1,cmdtext);
DCMD is a very advanced and efficient command processor, you should yunderstand it, before changing it.

Code:
dcmd(login,1,cmdtext);
You need to change login to 'alogin' and search for dcmd_login and change it to 'dcmd_alogin'
The '1' is the command character size, /kill would be 4, /login would be 5, /alogin would be 6.

Code:
dcmd(alogin,6,cmdtext);
Code:
dcmd_alogin( playerid, params[ ] )
{
  return 1;
}
Reply


Messages In This Thread
DCMD !!! Cant change commands - by MarcoNecroX - 12.04.2009, 07:01
Re: DCMD !!! Cant change commands - by Rac3r - 12.04.2009, 08:06
Re: DCMD !!! Cant change commands - by MarcoNecroX - 12.04.2009, 23:47

Forum Jump:


Users browsing this thread: 1 Guest(s)