Skip to content

Commit c962203

Browse files
Update README.md
1 parent 3de9723 commit c962203

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

README.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ restore a command back if it was removed or blocked.
6363
RestoreCommand("echo") -- echo is back
6464
```
6565

66-
### _RemoveCommand(command)
67-
removes a command from the server. nobody can use it, not even console. ** Using this completely destroy the command and it cannot be restored. **
66+
### DestroyCommand(command)
67+
destroy the command from everything including server console (cannot be restored)
6868

6969
```lua
70-
_RemoveCommand("echo") -- echo command is gone completely
70+
DestroyCommand("echo") -- echo command is gone completely
7171
```
7272

7373
### UncheatCommand(command)
@@ -86,10 +86,6 @@ restores the cheat requirement back to a command.
8686
RecheatCommand("sv_showlagcompensation") -- requires sv_cheats again
8787
```
8888

89-
## Example usage
90-
91-
in the provided lua file.
92-
9389
## Notes
9490

9591
- using RemoveCommand(cmd) and then BlockCommand(cmd) or vice versa will override each other.

0 commit comments

Comments
 (0)