an example for zcmd sub cmds.
#6

Quote:
Originally Posted by Gammix
Посмотреть сообщение
Just fix this mistake done in the above code:
Код:
if(! strcmp(params, "health", true, 6))
Quote:

0 if strings match each other on given length;
1 o r -1 if some character do not match: string1[i] - string2[i] ('i' represents character index starting from 0);

No. His code is right.

Edit: Actually nevermind, seems like it was edited. Sorry.
Reply


Messages In This Thread
an example for zcmd sub cmds. - by fuckingcruse - 04.02.2016, 01:41
Re: an example for zcmd sub cmds. - by SickAttack - 04.02.2016, 01:51
Re: an example for zcmd sub cmds. - by Gammix - 04.02.2016, 02:19
Re: an example for zcmd sub cmds. - by xTURBOx - 04.02.2016, 07:50
Re: an example for zcmd sub cmds. - by fuckingcruse - 04.02.2016, 13:07
Re: an example for zcmd sub cmds. - by Rufio - 04.02.2016, 13:20

Forum Jump:


Users browsing this thread: 5 Guest(s)