21b9498baa
chat_command_text_help 1.0.2
...
Fix warnings in the console
2023-03-21 22:14:20 +01:00
9deeecc41e
chat_command_map_mode 1.0.2
...
Fix warnings in the console
2023-03-21 22:13:54 +01:00
63ce9a008d
chat_command_god_mode 1.0.2
...
Give dead silence pro to avoid dying when falling from a high height.
This only gives it if the player doesn't have it already and it only takes it away if it was granted by the god mode in the first time
2023-03-21 22:04:46 +01:00
28679c87d7
Update README.md
2023-03-21 03:10:24 +01:00
de875ce204
Update README.md
2023-03-21 02:54:58 +01:00
439aefd37a
Update README.md
2023-03-21 02:13:34 +01:00
ba1322b933
chat_commands 1.3.2
...
Changed the prefix from a level scoped variable to a dvar.
Updated IW4MAdmin instructions, including the prefix conflict
Added cc_prefix dvar
2023-03-21 01:36:36 +01:00
32686b90d3
chat_commands 1.3.1
...
Add support for arguments with spaces (for example names containing spaces such as "The Moonlight")
2023-03-21 01:10:44 +01:00
457416ad66
Update README.md
2023-03-19 14:07:31 +01:00
c43d955ce2
Update README.md
2023-03-19 13:41:39 +01:00
5aa2ea361a
chat_command_permissions 1.0.0
2023-03-18 02:01:18 +01:00
6cbd03f492
Update README.md
...
Permission level on each command
2023-03-18 01:55:00 +01:00
09c2503c00
chat_command_wallhack 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:44:46 +01:00
1e780b24c3
chat_command_unlimited_ammo 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:44:31 +01:00
494eb0eba9
chat_command_unfair_aimbot 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:44:05 +01:00
10b5b39b44
chat_command_text_rules 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
2023-03-18 01:43:46 +01:00
6fcdc1e3c8
chat_command_text_help 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable and prefix variable following chat_commands 1.3.0 update
2023-03-18 01:43:14 +01:00
fd6ff8805f
chat_command_teleport 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:42:39 +01:00
a6ca69944e
chat_command_suicide 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:42:24 +01:00
8451c5b118
chat_command_norecoil 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:41:58 +01:00
05b1c867ff
chat_command_map_mode 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable and prefix variable following chat_commands 1.3.0 update
2023-03-18 01:41:38 +01:00
100c1441c5
chat_command_kill 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:40:51 +01:00
5a09bd989c
chat_command_invisible 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:40:25 +01:00
d85f19944c
chat_command_god_mode 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:39:54 +01:00
a26a893fae
chat_command_give 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:39:31 +01:00
998d2ca5b0
chat_command_freeze 1.0.2
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:38:45 +01:00
93be9ab104
chat_command_dvars 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:37:10 +01:00
36ced8fd0a
chat_command_change_team 1.0.1
...
Added permission level to CreateCommand following chat_commands 1.3.0 update
[Refactor] changed level scoped ports variable following chat_commands 1.3.0 update
2023-03-18 01:36:20 +01:00
b0b66dcfbc
chat_commands 1.3.0
...
This update adds an optional permission system that commands can use to determine what the minimum permission level is to be able to access that specific command
This update forces changes on the other commands scripts. If you download this version make sure to download the updated version of your individual chat command(s) script as well
Added cc_debug dvar
Added cc_permission_enabled
Added cc_commands_mode dvar
Added cc_permission_mode dvar
Added cc_permission_default dvar
Added cc_permission_max dvar
Added cc_permission_0, cc_permission_1, cc_permission_2, cc_permission_3 & cc_permission_4 dvars
Added InsufficientPermissionError error
Added InvalidPermissionLevelError error
Added GetPlayerPermissionLevelFromDvar util function
Added GetPlayerPermissionLevel util function
Added SetPlayerPermissionLevel util function
Added PlayerHasSufficientPermissions util function
Added SetDvarIfNotInitialized util function
Added IsBot util function
Added DebugIsOn util function
Added PermissionIsEnabled util function
[Refactor]
Replaced player.chat_commands with player.pers["chat_commands"]
This is to make sure the variables are kept between rounds
Replaced level scoped variables with a single level scoped array variable <level.chat_commands> holding all properties (prefix, ports etc.)
2023-03-18 01:27:20 +01:00
945bc04e3c
Update README.md
2023-02-23 02:24:05 +01:00
b7d1a9ab41
Update README.md
2023-02-23 02:22:55 +01:00
b57234fb09
chat_command_give 1.0.0
2023-02-23 02:22:09 +01:00
53dc47157e
chat_commands 1.2.3
...
Added CamoDoesNotExistError error
Added GetWeaponNameWithoutCamo util function
Added GetCamoNameFromNameOrIndex util function
2023-02-21 19:29:38 +01:00
d6bf08092b
chat_command_kill 1.0.0
2023-02-19 15:09:32 +01:00
0c20175902
chat_commands 1.2.2
...
Added TargetIsMyself util function
2023-02-19 15:01:14 +01:00
bf1ccc2c1f
chat_command_unfair_aimbot 1.0.0
2023-02-19 14:39:44 +01:00
30d9bca914
Update README.md
2023-02-18 15:48:22 +01:00
e120fd102a
chat_command_dvars 1.0.0
2023-02-16 16:34:23 +01:00
994e69632e
chat_commands 1.2.1
...
Added DvarDoesNotExistError error
Added DvarIsInitialized util function
2023-02-16 16:27:49 +01:00
e866fd5b26
chat_command_unlimited_ammo 1.0.0
2023-02-16 06:00:07 +01:00
b308c84758
chat_command_god_mode 1.0.0
2023-02-16 05:33:07 +01:00
1c2222443e
chat_command_freeze 1.0.1
...
Fix the bug that was not targeting the player but was targeting the player calling the command instead
2023-02-16 05:25:21 +01:00
ba97483c5d
Update README.md
2023-02-16 04:37:53 +01:00
9f9ecf7f50
chat_command_text_help 1.0.0
2023-02-16 04:37:19 +01:00
5fe50e216f
Update README.md
2023-02-16 04:31:44 +01:00
34f3535769
Update README.md
2023-02-16 04:30:00 +01:00
760db1a2eb
chat_command_freeze 1.0.0
2023-02-16 04:20:19 +01:00
108b06962a
chat_command_wallhack 1.0.0
2023-02-16 04:18:06 +01:00
18938c2487
chat_command_invisible 1.0.0
2023-02-16 04:17:23 +01:00
1a4c6a3cee
chat_command_norecoil 1.0.0
2023-02-16 04:15:15 +01:00