README
Visit our Discord / Homepage / Store !
Requirements / Dependencies
The following resources are required for nss_block_weapons
to work:
Changelog
See CHANGELOG.md for more information.
Features
Block using weapons for a specific time after respawn from death.
Persistent blocking time for offline characters (until server or resource restart).
Completely configurable:
Configure block time.
Configure notification texts (in your own language).
Configure notification icons.
Enable status indicator with progress bar.
Configure status indicator style via config file.
Status indicator icon is replaceable (transparent png file).
Configure debug mode.
Good performance on server and client side.
And more...
Open ToDo's
Nothing ;)
Known issues
Currently, no known issues.
Setup script
Ensure that the
nss_block_weapons
folder is in yourresources
folder.Rename config.demo.lua to
config.lua
and fill in the values.Add
ensure nss_block_weapons
to yourserver.cfg
.Restart your server.
Commands
[xyz]
is required, (abc)
is optional.
Admin commands
Only available for players with admin permissions.
block_weapon_show_dazed_players
- Shows all players who are currently blocked from using weapons.block_weapon_daze_player [player_id] (duration_in_seconds)
- Blocks the given player from using weapons for the given duration (in seconds). If no duration is given, the default duration from the config will be used.block_weapon_undaze_player [player_id]
- Unblocks the given player from using weapons.block_weapon_daze_all_players (duration_in_seconds)
- Blocks all players from using weapons for the given duration (in seconds). If no duration is given, the default duration from the config will be used.block_weapon_undaze_all_players
- Unblocks all players from using weapons.
Debug mode commands
Only available if debug mode is enabled in the configuration.
For testing with yourself:
block_weapon_show_block_message
block_weapon_show_unblock_message
block_weapon_show_try_blocking_message
block_weapon_add_ammo
block_weapon [duration_in_seconds]
duration_in_seconds is optionalunblock_weapon
Test the notifications:
block_weapon_show_block_message
block_weapon_show_unblock_message
block_weapon_show_try_blocking_message
FAQ
Last updated
Was this helpful?