.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Enhancement Workshop > Metamod and metamod plugins
Metamod and metamod plugins Plugins and improvements for the metamod server-side mod

Reply
 
Thread Tools
restrictweapons_plugin instructions
Old
  (#1)
SGt_pAIn
Guest
 
Status:
Posts: n/a
Default restrictweapons_plugin instructions - 17-04-2004

Downloaded the plugin but found instructions on use for forceteams_plugin. Can I get the cvars for use. Thanks PMB

Last edited by SGt_pAIn; 17-04-2004 at 00:54..
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#2)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: restrictweapons_plugin instructions - 17-04-2004

Can't you find them in the readme?

MusicMan
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#3)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: restrictweapons_plugin instructions - 17-04-2004

If I understand his question correctly he downloaded the restrictweapons_plugin (is this a metamod or AMX or ??? plugin?) but the included readme is for another plugin...
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#4)
MusicMan
Member
 
Status: Offline
Posts: 236
Join Date: Feb 2004
Default Re: restrictweapons_plugin instructions - 17-04-2004

oh I see, well I guess you're right

MusicMan
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#5)
SGt_pAIn
Guest
 
Status:
Posts: n/a
Default Re: restrictweapons_plugin instructions - 17-04-2004

It was a metamod plugin I got from PMB site. The readme is for a different plugin. Would like to get either the readme or cvars. http://racc.bots-united.com/english/downloads.html
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#6)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: restrictweapons_plugin instructions - 17-04-2004

Oh shit! My bad!

here are the CVARs
cvar_t restrict_pistols = {"restrict_pistols", "0", FCVAR_EXTDLL};
cvar_t restrict_usp = {"restrict_usp", "0", FCVAR_EXTDLL};
cvar_t restrict_glock18 = {"restrict_glock18", "0", FCVAR_EXTDLL};
cvar_t restrict_deagle = {"restrict_deagle", "0", FCVAR_EXTDLL};
cvar_t restrict_p228 = {"restrict_p228", "0", FCVAR_EXTDLL};
cvar_t restrict_elite = {"restrict_elite", "0", FCVAR_EXTDLL};
cvar_t restrict_fiveseven = {"restrict_fiveseven", "0", FCVAR_EXTDLL};
cvar_t restrict_shotguns = {"restrict_shotguns", "0", FCVAR_EXTDLL};
cvar_t restrict_m3 = {"restrict_m3", "0", FCVAR_EXTDLL};
cvar_t restrict_xm1014 = {"restrict_xm1014", "0", FCVAR_EXTDLL};
cvar_t restrict_submachineguns = {"restrict_submachineguns", "0", FCVAR_EXTDLL};
cvar_t restrict_mp5 = {"restrict_mp5", "0", FCVAR_EXTDLL};
cvar_t restrict_tmp = {"restrict_tmp", "0", FCVAR_EXTDLL};
cvar_t restrict_p90 = {"restrict_p90", "0", FCVAR_EXTDLL};
cvar_t restrict_mac10 = {"restrict_mac10", "0", FCVAR_EXTDLL};
cvar_t restrict_ump45 = {"restrict_ump45", "0", FCVAR_EXTDLL};
cvar_t restrict_rifles = {"restrict_rifles", "0", FCVAR_EXTDLL};
cvar_t restrict_ak47 = {"restrict_ak47", "0", FCVAR_EXTDLL};
cvar_t restrict_sg552 = {"restrict_sg552", "0", FCVAR_EXTDLL};
cvar_t restrict_m4a1 = {"restrict_m4a1", "0", FCVAR_EXTDLL};
cvar_t restrict_aug = {"restrict_aug", "0", FCVAR_EXTDLL};
cvar_t restrict_scout = {"restrict_scout", "0", FCVAR_EXTDLL};
cvar_t restrict_awp = {"restrict_awp", "0", FCVAR_EXTDLL};
cvar_t restrict_g3sg1 = {"restrict_g3sg1", "0", FCVAR_EXTDLL};
cvar_t restrict_sg550 = {"restrict_sg550", "0", FCVAR_EXTDLL};
cvar_t restrict_machineguns = {"restrict_machineguns", "0", FCVAR_EXTDLL};
cvar_t restrict_m249 = {"restrict_m249", "0", FCVAR_EXTDLL};
cvar_t restrict_primaryammo = {"restrict_primaryammo", "0", FCVAR_EXTDLL};
cvar_t restrict_secondaryammo = {"restrict_secondaryammo", "0", FCVAR_EXTDLL};
cvar_t restrict_equipment = {"restrict_equipment", "0", FCVAR_EXTDLL};
cvar_t restrict_kevlar = {"restrict_kevlar", "0", FCVAR_EXTDLL};
cvar_t restrict_kevlarhelmet = {"restrict_kevlarhelmet", "0", FCVAR_EXTDLL};
cvar_t restrict_flashbang = {"restrict_flashbang", "0", FCVAR_EXTDLL};
cvar_t restrict_hegrenade = {"restrict_hegrenade", "0", FCVAR_EXTDLL};
cvar_t restrict_smokegrenade = {"restrict_smokegrenade", "0", FCVAR_EXTDLL};
cvar_t restrict_defusekit = {"restrict_defusekit", "0", FCVAR_EXTDLL};
cvar_t restrict_nightvision = {"restrict_nightvision", "0", FCVAR_EXTDLL};

note that it may not work with CS 1.6 with the new buy aliases... and it doesn't know the shield either.
I'm going to update it to have it support CS 1.6 right now... and I'll include the TRUE readme this time



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#7)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: restrictweapons_plugin instructions - 17-04-2004

Does this restriction plugin also work for bots?
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#8)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: restrictweapons_plugin instructions - 17-04-2004

yes but...

I've got bad news folks...

Just found out this...
With CS 1.6 they changed the netcode and it appears now that the buy menus are entirely handled client-side, not like before where the menu codes were sent over the network from the client to the server and back...

This means that there's no way I can make the plugin work with CS 1.6...



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#9)
Terran
Member
 
Terran's Avatar
 
Status: Offline
Posts: 431
Join Date: Jan 2004
Default Re: restrictweapons_plugin instructions - 17-04-2004

Hmm, that is strange as I can restrict weapons with AMX at CS 1.6 - but not for bots...
  
Reply With Quote
Re: restrictweapons_plugin instructions
Old
  (#10)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: restrictweapons_plugin instructions - 18-04-2004

How do you do that ?

Source code ?



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com