Server says command doesn't exist, but it still executes
#6

Quote:
Originally Posted by DaniceMcHarley
Посмотреть сообщение
I think it's because you're returning a SendClientMessage and a 1, try to remove that return and keep the 1; only. As Blademaster^^ said above.
No, that's not why. The SendClientMessage only returns if the player isn't an admin, the return true; will be performed if the command is successful.

It's most likely caused because of an invalid array size, as you stated the command did execute but still returns false regardless. I've had a similar issue before.

Can you show us what you have defined as "ADMIN"? What DaniceMcHarley said is still somewhat right.

Also, there is no point using a size 128 string when you're only using max. 60 characters.
Reply


Messages In This Thread
Server says command doesn't exist, but it still executes - by DTV - 28.07.2014, 03:07
Re: Server says command doesn't exist, but it still executes - by Don_Cage - 28.07.2014, 03:36
Re: Server says command doesn't exist, but it still executes - by DTV - 28.07.2014, 19:00
Re: Server says command doesn't exist, but it still executes - by Blademaster680 - 28.07.2014, 19:03
Re: Server says command doesn't exist, but it still executes - by DaniceMcHarley - 28.07.2014, 19:08
Re: Server says command doesn't exist, but it still executes - by Dignity - 29.07.2014, 05:22
Re: Server says command doesn't exist, but it still executes - by Konstantinos - 29.07.2014, 08:58
Re: Server says command doesn't exist, but it still executes - by Jefff - 31.07.2014, 21:27
Re: Server says command doesn't exist, but it still executes - by Stanford - 31.07.2014, 21:30
Re : Server says command doesn't exist, but it still executes - by ManuelNeuer - 31.07.2014, 21:31
Re: Server says command doesn't exist, but it still executes - by Don_Cage - 31.07.2014, 21:39
Re: Server says command doesn't exist, but it still executes - by DaniceMcHarley - 31.07.2014, 23:26
Re: Server says command doesn't exist, but it still executes - by DTV - 31.07.2014, 23:54
Re: Server says command doesn't exist, but it still executes - by Basssiiie - 01.08.2014, 02:27
Re: Server says command doesn't exist, but it still executes - by Don_Cage - 01.08.2014, 07:55
Re: Server says command doesn't exist, but it still executes - by Konstantinos - 01.08.2014, 09:11
Re: Server says command doesn't exist, but it still executes - by dirigent00 - 01.08.2014, 10:23
Re: Server says command doesn't exist, but it still executes - by DTV - 03.08.2014, 22:38

Forum Jump:


Users browsing this thread: 1 Guest(s)