11.05.2009, 16:19
Quote:
Originally Posted by @TheShadow@
hm its not so difficult to use dcmd^^ Why should we use yours? Is it faster or something?
|
In gcmd,it will check only two integer values first,that is far more faster than strcmp.
And while using gcmd,it offers some functions(some are marcos) to suit ur work.
eg:
paramsame(ppos,str[]); --> to check if is complete same string or not
paramlist(param1,param2...,param10); --> to check if is same with params
If you look the example 2,you will get more information about gcmd.(I'll try to make example 2 clearer,my fault.)
gcmd also easy for making one command with different types.(gcmd("testCommand","a","b","c","d","e"))
Whats more,it does support create/destroy and disallow/allow player to use any command.
If you have more suggestions,please advice tehn to me.^^