57 Commits

Author SHA1 Message Date
Resxt
375dceea87 remove_heavy_weapon_slow 1.0.1
An additional OnPlayerWeaponSwitch function was threaded on every spawn. Now it will stop when the player dies and thread a new one as expected
2023-04-15 14:32:58 +02:00
Resxt
ec7f90c134 Delete chat_commands
Deleting chat_commands to prepare for a refactor (moving to the chat_commands folder)
2023-02-16 03:24:32 +01:00
Resxt
149fb65b57 jump_monitor 1.0.0 2023-02-15 22:34:22 +01:00
Resxt
623d177551 welcome_message 1.0.0 2023-02-15 16:46:55 +01:00
Resxt
6096379e3e autoassign_team 1.0.0 2023-02-15 16:11:18 +01:00
Resxt
59bfdc19fe chat_commands 1.1.9
[Refactor]
Fix wrong type error during help message comparison.
Change default strings to array of one string
2023-02-06 04:38:18 +01:00
Resxt
a51165558c chat_commands 1.1.8
Added wallhack command to grant or remove access to a wallhack (red boxes) to a player (toggle)

[DEV]
This showcases how to implement a status/toggle command with a non permanent logic (implementing OnPlayerSpawned())
2023-02-06 04:14:53 +01:00
Resxt
6bf08da690 chat_commands 1.1.7
Added invisible command to grant or remove the invisible state to a player (toggle)
Note that this does not make you invisible to bots in the sense that even if they can't see you they will still know your position and shoot you on sight
2023-02-06 03:51:17 +01:00
Resxt
7766d9ecb9 chat_commands 1.1.6
[Dev]
Added default strings the dev can pass to automatically generate an help message for the commands with one or two player(s) as arg
2023-02-06 03:36:59 +01:00
Resxt
8ee3ca5bc7 chat_commands 1.1.5
All commands that require a player name to be passed now work both with a player name or with "me" to target yourself

[Dev]
All commands that use FindPlayerByName will now work with "me" passed as the player out of the box since FindPlayerByName now returns self if the name param is "me"

[Refactor]
Fix undefined errors when calling a status command for the first time on a player
2023-02-06 03:22:40 +01:00
Resxt
b1ec92bd0c chat_commands 1.1.4
Added norecoil command to grant or remove access to no recoil to a player (toggle)

[DEV]
Introduced the status system to make implementing toggle commands easier.
It allows the dev to get and set a status on a player per command and display messages both for the person running the command and for the player affected when the player status changes (for example no recoil ON/OFF).
Note that the status is always OFF by default since we always grant something to a player
2023-02-06 03:05:21 +01:00
Resxt
73846c8cc9 chat_commands 1.1.3
Added teleport command to teleport a player or yourself to another player or yourself
!teleport me Eldor
!teleport Eldor me
!teleport Eldor Rektinator

[Refactor]
Replaced array[array.size] = value with AddElementToArray(array, value)
2023-01-27 21:58:12 +01:00
Resxt
caeacbf3d4 chat_commands 1.1.2
Added changeteam command to swap a player to the other team
!changeteam Resxt
2023-01-19 22:07:25 +01:00
Resxt
a265fd9920
Update README.md 2022-10-19 23:21:33 +02:00
Resxt
061a6bf516
chat_commands 1.1.1
Fix missing port for example
2022-10-15 15:57:03 +02:00
Resxt
d00dfbe893 Update README.md 2022-10-15 15:46:51 +02:00
Resxt
0cd38e9785 chat_commands 1.1.1
Added help command to display the help message for a particular command.
An optional commandHelp argument has been added to the CreateCommand function.
A help command with no arguments can still be created. The script will understand the context and display the right info

Made examples in InitCommands() clearer by separating them and adding comments

Added comments to separate each command section: commands, help and other commands
2022-10-15 15:42:45 +02:00
Resxt
fc70f3e6f3 Update README.md 2022-10-15 14:37:02 +02:00
Resxt
e235b76ebe chat_commands 1.1
Allow configuration of the commands prefix

Added a function to easily create commands

Added the ability to pass an array of server ports instead of just one port per command

Added the ability to add a command to all servers using level.commands_servers_ports

Fixed the warning when running a function command by explicitly defining whether a command is of type text or function

Fixed commands not working when using the say command through the console instead of the chat. Now both works
2022-10-15 14:31:59 +02:00
Resxt
1e25f5ec14 Update anti_hardscope.gsc 2022-10-01 13:15:08 +02:00
Resxt
21b928d2e4 Update anti_hardscope.gsc 2022-10-01 13:14:11 +02:00
Resxt
9026f76738 anti_hardscope indentation fix 2022-09-30 22:10:55 +02:00
Resxt
83d8f634dc anti_hardscope indentation fix 2022-09-30 22:10:30 +02:00
Resxt
46c54c4fac anti_hardscope indentation fix 2022-09-30 22:09:45 +02:00
Resxt
b4a9e136e6 Update anti_hardscope.gsc 2022-09-30 22:00:35 +02:00
Resxt
6b9bc23449 Added anti_hardscope 2022-09-30 21:58:59 +02:00
Resxt
7997a0446e Update chat_commands.gsc 2022-09-22 17:13:23 +02:00
Resxt
7c5b5b9fe8 Update README 2022-09-22 17:11:43 +02:00
Resxt
6d8f87c45d Create chat_commands 2022-09-22 17:08:11 +02:00
Resxt
c019b4ca84 Create one_in_the_chamber 2022-09-19 09:55:02 +02:00
Resxt
c920a76681 Create manage_bots_fill 2022-09-18 17:42:20 +02:00
Resxt
b110613f79 Create remove_heavy_weapon_slow 2022-09-16 13:11:43 +02:00
Resxt
e76bc74443
hardcore_tweaks 1.0.1 2022-04-23 21:12:54 +02:00
Resxt
1ee779097a Create disable_damages 2022-04-11 13:42:17 +02:00
Resxt
e44219ea35 Create disable_nuke_killstreak 2022-04-11 13:37:46 +02:00
Resxt
98d0616729
Update README.md 2022-03-30 00:29:38 +02:00
Resxt
6a0f14af4d
Update README.md 2022-03-30 00:28:53 +02:00
Resxt
8a6ef33443 kill_players_under_map 1.0 2022-03-30 00:28:07 +02:00
Resxt
fb95f413dd give_perks_on_spawn 1.0 2022-03-29 19:58:19 +02:00
Resxt
3cb4e7e27c
Update README.md 2022-03-29 18:43:36 +02:00
Resxt
3df02a9858 Merge branch 'main' of https://github.com/Resxt/Plutonium-IW5-Scripts 2022-03-29 18:42:36 +02:00
Resxt
095f33da54 show_text_on_first_spawn 1.0.1
Indent fix
2022-03-29 18:42:28 +02:00
Resxt
bb1a86b076
Update README.md 2022-03-29 18:39:35 +02:00
Resxt
1f5d5f9031 show_text_on_first_spawn 1.0 2022-03-29 18:39:16 +02:00
Resxt
d0366bbdd7 get_player_guid 1.0 2022-03-25 22:43:49 +01:00
Resxt
90352f90af
Update README.md 2022-03-22 16:17:14 +01:00
Resxt
ee004894e2 hardcore_tweaks 1.0 2022-03-22 16:16:48 +01:00
Resxt
627ce1adb6 Added kill_stuck_bots 2022-03-16 19:48:00 +01:00
Resxt
62a2c67088
Update README.md 2022-03-16 19:00:50 +01:00
Resxt
bcde6c28e9
Update README.md 2022-03-16 19:00:39 +01:00