10.10.2016, 13:10
(
Последний раз редактировалось Yashas; 10.10.2016 в 14:42.
)
The include is really cute.
Commands which use '_' (I guess even '@' too) won't work since '_' | 0x20 will change the character.
Why do you need to know if the command exists to block a player from using commands? If the player uses a valid command, block it! If he types an invalid command, block it too!
Commands which use '_' (I guess even '@' too) won't work since '_' | 0x20 will change the character.
Quote:
Can you add a function to check if a command exists?
ex: PHP код:
btw Good job. |
Код:
CommandExists(cmd[]) { static _cmd[32] = "cmd_"; _cmd[4] = 0; strcat(_cmd, cmd); return (funcidx(_cmd) != -1) }