Deny All commands exept 2
#9

Quote:
Originally Posted by Calgon
Посмотреть сообщение
[03]Garsino must have accidentally typed the wrong brackets and forgotten the exclamation mark before strcmp() or == 0 at the end, and was thinking you were using a more modern command processor (zcmd).
Nope... Look at the posts he posted (first post for example). I just copied his code and added the extra checks. Oh and; your code is wrong. He want to deny every command except /help and /faq. Your code blocks the only command he didn't want to block.

Super_Panda: OnPlayerCommandText can be used with DCMD. And SSCANF is not a command processor...
Reply


Messages In This Thread
Deny All commands exept 2 - by Super_Panda - 12.11.2011, 13:40
Re: Deny All commands exept 2 - by MadeMan - 12.11.2011, 13:42
Re: Deny All commands exept 2 - by [03]Garsino - 12.11.2011, 13:43
Respuesta: Deny All commands exept 2 - by Super_Panda - 12.11.2011, 14:03
Re: Deny All commands exept 2 - by [03]Garsino - 12.11.2011, 14:36
Re: Deny All commands exept 2 - by Calgon - 12.11.2011, 14:55
Respuesta: Deny All commands exept 2 - by Super_Panda - 12.11.2011, 15:05
Re: Deny All commands exept 2 - by whitedragon - 12.11.2011, 15:21
Re: Deny All commands exept 2 - by [03]Garsino - 12.11.2011, 15:25
Re: Deny All commands exept 2 - by Calgon - 12.11.2011, 15:26

Forum Jump:


Users browsing this thread: 1 Guest(s)