commands
#12

Quote:
Originally Posted by [HiC]TheKiller
View Post
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.
I guess I miess read that part.
Also, I just know that he asked that player can't type any command execpt /help if CMD is false.
It can be use for mute command or anything.

Quote:
Originally Posted by Lorenc_
View Post
I noticed one thing, that you failed to write the code inside 'OnPlayerCommandReceived' properly and stop trying to compete against people in scripting. They have their own style intro coding, and you should respect that. TheKiller posted code that should work fine.
It's just the bracket. I forgot to remove that.
Why you said I'm trying to compete against people? I just trying to fix the code.
And also there's nothing tell us that I disrespect TheKiller .
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: 1 Guest(s)