View Single Post
paulo_crash
AlliedModders Donor
Join Date: May 2016
Location: Brazil
Old 09-06-2021 , 14:08   Re: [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !name
Reply With Quote #1611

Quote:
Originally Posted by deko_fps View Post
Looked up for this info, couldn't find: is it possible to change commands (!ws !knife !gloves)?
Yes, it is possible to change these commands, but they need to be edited in the plugins source file and then compile again.

Plugin [CSGO] Weapon & Knives (Skins, Name Tags, StatTrak, Wear/Float) [!ws !knife !nametag] in the lines:
Code:
	RegConsoleCmd("buyammo1", CommandWeaponSkins);
	RegConsoleCmd("sm_ws", CommandWeaponSkins);
	RegConsoleCmd("buyammo2", CommandKnife);
	RegConsoleCmd("sm_knife", CommandKnife);
	RegConsoleCmd("sm_nametag", CommandNameTag);
	RegConsoleCmd("sm_wslang", CommandWSLang);
	RegConsoleCmd("sm_seed", CommandSeedMenu);
https://github.com/kgns/weapons/blob...ons.sp#L93-L99

Plugin [CSGO] Gloves in the lines:
Code:
	RegConsoleCmd("sm_gloves", CommandGlove);
	RegConsoleCmd("sm_glove", CommandGlove);
	RegConsoleCmd("sm_eldiven", CommandGlove);
	RegConsoleCmd("sm_gllang", CommandGloveLang);
https://github.com/kgns/gloves/blob/...ves.sp#L55-L58

Remembering again, after editing these lines in both plugins (source file) compile again so that the changes work and don't forget to change the map.

Last edited by paulo_crash; 09-06-2021 at 14:11.
paulo_crash is offline