Browse Source

Add check for CounterStrikeSharp before WeaponPaints install

Added check to prevent WeaponPaints installation without CounterStrikeSharp.
pull/4929/head
xe1os 2 weeks ago
committed by GitHub
parent
commit
76bb466a54
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 5
      lgsm/modules/command_mods_install.sh

5
lgsm/modules/command_mods_install.sh

@ -148,6 +148,11 @@ if [ "${modcommand}" == "amxmodx" ]; then
fn_mod_install_amxmodx_file
fi
# Prevent WeaponPaints install without CounterStrikeSharp.
if [ "${modcommand}" == "weaponpaints" ]; then
fn_mod_exist "cssharp"
fi
echo -e "${modprettyname} installed"
fn_script_log_pass "${modprettyname} installed."

Loading…
Cancel
Save