03.10.2012, 11:36
Quote:
1st - Use zcmd, it's a faster command processer. 2nd - Use sscanf, sinc strtok is slow.
|
I think you should use dcmd, because this also allows you to easy write cmds.
And because it is a define thingy, it is not faster and not slower then the normal cmd definition.
Not sure if zcmd is slower but it's a include with maybe 100 lines, so I think it is slower.
I'm sure it isn't faster.
And the thing i like with dcmd is that it allows to to group the cmds in onplayercommand.
in zcmd you have to put in every single cmd that he isn't allowed to use it when he is in a vehicle.
Using dcmd you can just put the dcmd in the if(onfoot) thing.