Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Fix Gloves Arms For Custom Models With/Without Gloves Plugin

Notifications You must be signed in to change notification settings

oqyh/CSGO-Gloves-Arms-Fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

[CSGO] Gloves Arms Fixer (1.0.2)

https://forums.alliedmods.net/showthread.php?t=343329

Fix Gloves Arms For Custom Models Compatibility With Gloves Plugin

gif1 gif2

beforer afterr

.:[ Installation ]:.

Remove any arm fixes
VVVVVVV
csgo\addons\sourcemod\plugins\n_arms_fix.smx
csgo\addons\sourcemod\extensions\ArmsFix.autoload
csgo\addons\sourcemod\extensions\ArmsFix.ext.2.csgo.so

Then drop Gloves Arms Fixer files in ../csgo/
Restart server 

.:[ ConVars ]:.

// Gloves Arms Fixer?
// 1= Enable 
// 0= Disable
agf_enable_plugin "1"

// How would you like to fix the arms / gloves method 
// 1= Timer (every agf_delay_fixer x Secs do fix) 
// 2= On Respawn (do fix after agf_delay_fixer x Secs 1 time Every Respawn)
agf_mode "1"

// (in Secs) Timer delay to make fix arms / gloves, make it higher if there is apply skins delay (need restart server to set new timer)
agf_delay_fixer "4.0"

// Force remove gloves?
// 1= yes(custom arms override gloves.smx plugin) 
// 0= no(gloves.smx override custom arms except default gloves)
agf_force_remove "0"

//==========================================================================================

// Make toggle invisible arms / gloves?
// 3= yes ( specific steamids agf_steamid_list_path ) need restart server
// 2= yes ( specific flags agf_flags )
// 1= yes ( everyone can toggle on/off )
// 0= no (disable toggle on/off )
agf_enable_toggle "0"

// [if agf_enable_toggle 2] which flags is it
agf_flags "abcdefghijklmnoz"

// [if agf_enable_toggle 3] where is list steamid located in addons/sourcemod/
agf_steamid_list_path "configs/viplist.txt"

// [if agf_enable_toggle 1 or 2 or 3] which commands would you like to make it  toggle on/off hide arms / gloves (need restart server)
agf_cmd "sm_hidearms;sm_hidearm;sm_ha"

//==========================================================================================

// Enable checker timer to check access 
// 1= yes(to avoid stuck client on viplist do check every agf_check_timer x Secs) 
// 0= no
agf_check_access "0"

// [if agf_check_access 1] (in Secs) Timer to check clients
agf_check_timer "5.0"

.:[ FAQ ]:.

-Why i see stretch gloves? (Example: https://github.com/oqyh/CSGO-Gloves-Arms-Fixer/assets/48490385/e4d83c7b-4880-4e3d-9cc1-7e1ce0026f58)

if you using gloves.smx make convar sm_gloves_enable_world_model "1" to "0"
then restart server

.:[ Change Log ]:.

(1.0.2)
 -Combine two plugins works with/without gloves.smx
 -Fix agf_force_remove
 -Added two mode agf_mode 1-real time fix 2-every respawn
 -Added agf_enable_toggle toggle visible/invisible arms gloves (Requested)
 -Added agf_flags flags to access visible/invisible gloves if agf_enable_toggle 2
 -Added agf_steamid_list_path to access visible/invisible gloves if agf_enable_toggle 3
 -Added agf_cmd custom commands toggle visible/invisible gloves
 -Added agf_check_access to check access if client or server change agf_enable_toggle
 -Added agf_check_timer timer for agf_check_access to check all clients

(1.0.1)
=Gloves-Arm-Fixer(With Gloves Plugin).smx
 -Fix convar agf_force_remove 
 -Better Detect Custom models
 -Plugin no longer removing if client not using gloves.smx and have his own gloves
 -Plugin no longer removing if client has his own gloves and not using custom models and gloves.smx
 -Fix client on bot arms/gloves or custom or not

=Gloves-Arm-Fixer(Without Gloves Plugin).smx
 -Remove include <gloves>
 -Better Detect Custom models
 -Plugin no longer removing if client has his own gloves and not using custom models
 -Fix client on bot arms/gloves or custom or not

(1.0.0)
- Initial Release

.:[ Donation ]:.

If this project help you reduce time to develop, you can give me a cup of coffee :)

paypal