Whats wrong? /command [on/off]
#4

Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by [Fackin'
Pyro ]
For the love of god, indent.

http://pastebin.com/f499441d8

I can't seem to find anything wrong with it. Make sure OnPlayerCommandText's return is set to 0.
He showed you a part of OnPlayerCommandText, not the whole public.
Yes I know. And I'm telling him to check if OnPlayerCommandText is set to 1 or 0. It's supposed to be 0. I don't know if that might be the problem, but I can't find anything wrong with his command.

Well, I did do one thing. Instead of making on and off two separate if statements, I change them to an else if. Might prevent some future problems.
Reply


Messages In This Thread
Whats wrong? /command [on/off] - by DmXPlay - 11.03.2009, 21:33
Re: Whats wrong? /command [on/off] - by Pyrokid - 11.03.2009, 21:43
Re: Whats wrong? /command [on/off] - by MenaceX^ - 11.03.2009, 21:45
Re: Whats wrong? /command [on/off] - by Pyrokid - 11.03.2009, 21:47
Re: Whats wrong? /command [on/off] - by DmXPlay - 11.03.2009, 21:48
Re: Whats wrong? /command [on/off] - by Jefff - 11.03.2009, 21:55
Re: Whats wrong? /command [on/off] - by DmXPlay - 11.03.2009, 22:03
Re: Whats wrong? /command [on/off] - by Mikep - 11.03.2009, 23:24
Re: Whats wrong? /command [on/off] - by [RP]Rav - 11.03.2009, 23:27
Re: Whats wrong? /command [on/off] - by Mikep - 11.03.2009, 23:34

Forum Jump:


Users browsing this thread: 1 Guest(s)