This site is a testing version, but all data is shared with the live forum.


Raised This Month: $12 Target: $400
 3% 

Solved [CS GO] KeyValues - how to add skins to menu ???


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-05-2018 , 02:47   [CS GO] KeyValues - how to add skins to menu ???
Reply With Quote #1

hi guys!

i read this post but dont work:
https://forums.alliedmods.net/showthread.php?t=308680

i have this txt or cfg file for example:
HTML Code:
"Skins"
{
	"Terrorists"
	{
		"Anarchist"
		{
			"skin"	"models/player/tm_anarchist_variantd.mdl"
			"arms"	"models/weapons/t_arms_anarchist.mdl"
		}
		"Pirate"
		{
			"skin"	"models/player/tm_pirate_variantc.mdl"
			"arms"	"models/weapons/t_arms_pirate.mdl"
		}
		"Professional"
		{
			"skin"	"models/player/tm_professional_var2.mdl"
			"arms"	"models/weapons/t_arms_professional.mdl"
		}
		"Separatist"
		{
			"skin"	"models/player/tm_separatist_variantd.mdl"
			"arms"	"models/weapons/t_arms_separatist.mdl"
		}
		"Balkan"
		{
			"skin"	"models/player/tm_balkan_variantc.mdl"
			"arms"	"models/weapons/t_arms_balkan.mdl"
		}
		"Leet"
		{
			"skin"	"models/player/tm_leet_variantb.mdl"
			"arms"	"models/weapons/t_arms_leet.mdl"
		}
		"Phoenix"
		{
			"skin"	"models/player/tm_phoenix_variantc.mdl"
			"arms"	"models/weapons/t_arms_phoenix.mdl"
		}
	}
	"Counter-Terrorists"
	{
		"GIGN"
		{
			"skin"	"models/player/ctm_gign_variantc.mdl"
			"arms"	"models/weapons/ct_arms_gign.mdl"
		}
		"GSG-9"
		{
			"skin"	"models/player/ctm_gsg9_variantc.mdl"
			"arms"	"models/weapons/ct_arms_gsg9.mdl"
		}
		"ST-6"
		{
			"skin"	"models/player/ctm_st6_varianta.mdl"
			"arms"	"models/weapons/ct_arms_st6.mdl"
		}
		"FBI"
		{
			"skin"	"models/player/ctm_fbi_varianta.mdl"
			"arms"	"models/weapons/ct_arms_fbi.mdl"
		}
		"IDF"
		{
			"skin"	"models/player/ctm_idf_variantb.mdl"
			"arms"	"models/weapons/ct_arms_idf.mdl"
		}
		"SAS"
		{
			"skin"	"models/player/ctm_sas_variantb.mdl"
			"arms"	"models/weapons/ct_arms_sas.mdl"
		}
		"SWAT"
		{
			"skin"	"models/player/ctm_swat.mdl"
			"arms"	"models/weapons/ct_arms_swat.mdl"
		}
	}
}
and i need to the menus:
HTML Code:
Choose your Terrorist skin:
1.Anarchist
2.Pirate
3.Professional
4.Separatist

7.next page
9.exit

-----------------------------

Choose your Counter-Terrorist skin:
1.GIGN
2.GSG-9
3.ST-6
4.FBI

7.next page
9.exit
how to create this menus for unlimit "AddMenuItem" ??
i have problem create menu with KeyValues

Last edited by Dr.Mohammad; 07-06-2018 at 09:55.
Dr.Mohammad is offline
Neuro Toxin
Veteran Member
Join Date: Oct 2013
Location: { closing the void; }
Old 07-05-2018 , 06:11   Re: [CS GO] KeyValues - how to add skins to menu ???
Reply With Quote #2

Why dont you use?

https://forums.alliedmods.net/showthread.php?p=780243
__________________
Neuro Toxin is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-05-2018 , 06:51   Re: [CS GO] KeyValues - how to add skins to menu ???
Reply With Quote #3

Quote:
Originally Posted by Neuro Toxin View Post
yeah, i read the post but i need very simple plugin and i love write the program.
Dr.Mohammad is offline
keygens
Senior Member
Join Date: Mar 2010
Location: Somewhere
Old 07-05-2018 , 13:09   Re: [CS GO] KeyValues - how to add skins to menu ???
Reply With Quote #4

Take a look:
https://github.com/zadroot/CSGO_Skin.../csgo_skins.sp
keygens is offline
Indarello
Senior Member
Join Date: Nov 2015
Location: Russia
Old 07-05-2018 , 13:55   Re: [CS GO] KeyValues - how to add skins to menu ???
Reply With Quote #5

New player models have another path
Indarello is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 07-06-2018 , 08:32   Re: [CS GO] KeyValues - how to add skins to menu ???
Reply With Quote #6

i used skin chooser.
thank you for help

Last edited by Dr.Mohammad; 07-06-2018 at 09:55.
Dr.Mohammad is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode