[Tutorial] Making Basic calculator commands.
#9

Why are you putting the no. of characters of the command 10 though it is 9?
pawn Код:
strcmp("/multiplay", cmdtext, true, [B]10[/B]) == 0) }
It should be
pawn Код:
strcmp("/multiplay", cmdtext, true, [B]9[/B]) == 0) }
If you don't know what the fourth parameter stands for, it is the no. of characters in your command.
Reply


Messages In This Thread
Making Basic calculator commands. - by TaLhA XIV - 05.09.2012, 12:22
Re: Making Basic calculator commands. - by leonardo1434 - 05.09.2012, 12:32
Re: Making Basic calculator commands. - by TaLhA XIV - 05.09.2012, 12:40
Re: Making Basic calculator commands. - by Sanady - 05.09.2012, 13:35
Re: Making Basic calculator commands. - by TaLhA XIV - 05.09.2012, 13:48
Re: Making Basic calculator commands. - by FUNExtreme - 05.09.2012, 14:05
Re: Making Basic calculator commands. - by Kirollos - 05.09.2012, 14:12
Re: Making Basic calculator commands. - by TaLhA XIV - 05.09.2012, 14:22
Re: Making Basic calculator commands. - by Faisal_khan - 05.09.2012, 14:33
Re: Making Basic calculator commands. - by jameskmonger - 05.09.2012, 14:37

Forum Jump:


Users browsing this thread: 1 Guest(s)