Confusing :O
#1

Guys i just wanna know what is the difference between the normal cmd and the zcmd and those types? i think the normal cmd works fine, why using the other? please help i could learn zcmd if it was better
Reply
#2

Depending on coding, it's getting easier, and processing commands is faster.
and yes! ZCMD is better.
Reply
#3

This is just a little include that uses OnPlayerCommandText() to process players' commands. Each command has a separate function like in dcmd, but zcmd calls them directly via CallLocalFunction(). Such method is much faster than when you successively compare the text player entered to each command you have in your script (especially if he send a nonexistent cmd, you pass though all then) and its superiority over the old way is proportional to the number of commands. I did a speed test when I've just statrted thinking about this approach, you can find its results here.
Reply
#4

Thanks all i will learn to use it ASAP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)