16.04.2011, 11:52
Under OnPlayerCommandText you're meant to put
dcmd(cmd, len, params)
but isn't it easier to use sizeof(cmd) instead of having a seperate length parameter? How can I do this?
Please don't recommend that I use zcmd or bcmd or fcmd of jcmd, however many different ones there are - I like dcmd. I'm not really bothered if my commands execute 0.000001 seconds faster with zcmd.
Thanks.
dcmd(cmd, len, params)
but isn't it easier to use sizeof(cmd) instead of having a seperate length parameter? How can I do this?
Please don't recommend that I use zcmd or bcmd or fcmd of jcmd, however many different ones there are - I like dcmd. I'm not really bothered if my commands execute 0.000001 seconds faster with zcmd.
Thanks.