Converting dcmd into zcmd
#1

Hi, I have downloaded Lethal Admin and seen that it uses dcmd, which is older and less efficient than zcmd, so I would like to convert it, but I still don't know enough about it to make the convertion myself, so I would like someone to help me with it. Besides, this wouldn't benefit only myself, but also anyone else that is interested in using this admin system.

In first place, I know that both dcmd and zcmd use a separate function for each command, however dcmd still uses the callback OnPlayerCommandText whereas zcmd doesn't. Besides, Lethal Admin has some additional pieces of code in that callback (for example to check if you use commands while you are jailed), so I think that just changing the individual command functions and removing the content of OnPlayerCommandText wouldn't give a good result.

Could anyone help me? Thanks.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)