commands
#9

Remember that

pawn Code:
if(strcmp("/help", cmdtext, true) != 0)
Is actually checking if the command isn't correct. Your way wouldn't even work, because you are setting CMD[playerid] to true when the player connects. This makes it so regardless if the player had typed /help yet, the player wouldn't get asked to type /help. You also have absolutely no way of setting the command typed to true when the player typed the command.
Reply


Messages In This Thread
commands - by Speed - 24.08.2011, 07:50
Re: commands - by Horrible - 24.08.2011, 07:52
Re: commands - by =WoR=Varth - 24.08.2011, 07:52
Re: commands - by [HiC]TheKiller - 24.08.2011, 07:59
Re: commands - by =WoR=Varth - 24.08.2011, 08:11
Re: commands - by [HiC]TheKiller - 24.08.2011, 08:21
Re: commands - by =WoR=Varth - 24.08.2011, 08:32
Re: commands - by doreto - 24.08.2011, 08:37
Re: commands - by [HiC]TheKiller - 24.08.2011, 08:41
Re: commands - by =WoR=Varth - 24.08.2011, 08:41
Re: commands - by Lorenc_ - 24.08.2011, 08:44
Re: commands - by =WoR=Varth - 24.08.2011, 08:52
Re: commands - by Speed - 24.08.2011, 09:19
Re: commands - by Speed - 24.08.2011, 09:26
Re: commands - by [HiC]TheKiller - 24.08.2011, 09:37

Forum Jump:


Users browsing this thread: 4 Guest(s)