.:: 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 ::. > Cyborg Factory > POD-Bot mm > Common Questions
Common Questions Are you seeking help ? Get it here !

Reply
 
Thread Tools
pb_restrweapons not working correctly
Old
  (#1)
brlight
Member
 
Status: Offline
Posts: 11
Join Date: Feb 2012
Default pb_restrweapons not working correctly - 28-07-2013

Hi, Iīm having problems restricting shields on bots.Since the itīs specific map type server (AWP) thereīs no point bots using shields and other weapons, so I did it this way:
created a prefix_awp.cfg file in:cstrike/addons/amxmodx/configs/maps/prefix_awp.cfg

In that prefix_awp.cfg file Iīve:
//Podbot
pb_restrweapons "0110111111111111111101111"

From my understanding bots should be able to have Knife, deagle and Awp, all the other should be Restrict but thatīs no happening, bots still appear with shield.Do i need to do something more?Pls help.
Thank you.
  
Reply With Quote
Re: pb_restrweapons not working correctly
Old
  (#2)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: pb_restrweapons not working correctly - 29-07-2013

Quote:
Originally Posted by podbot.cfg
# Weapons, equipment and ammo restriction (for buying)
# bit numbers meaning - the left one is the 0 in that string cvar
# Pistols restriction
# 0 - KNIFE
# 1 - USP
# 2 - GLOCK18
# 3 - DEAGLE
# 4 - P228
# 5 - ELITE
# 6 - FIVESEVEN
# Shotgun restrictions
# 7 - M3
# 8 - XM1014
# SMG restrictions
# 9 - MP5NAVY
# 10 - TMP
# 11 - P90
# 12 - MAC10
# 13 - UMP45
# Rifles restrictions
# 14 - AK47
# 15 - SG552
# 16 - M4A1
# 17 - GALIL
# 18 - FAMAS
# 19 - AUG
# 20 - SCOUT
# 21 - AWP
# 22 - G3SG1
# 23 - SG550
# Machine Gun restriction
# 24 - M249
# Shield restriction
# 25 - SHIELD
pb_restrweapons "00000000000000000000000000"
If You have
pb_restrweapons "0110111111111111111101111" - You are missing one bit.
Try this way:
pb_restrweapons "01101111111111111111101111"
  
Reply With Quote
Re: pb_restrweapons not working correctly
Old
  (#3)
brlight
Member
 
Status: Offline
Posts: 11
Join Date: Feb 2012
Default Re: pb_restrweapons not working correctly - 04-08-2013

Thank you Kwo, didnīt count them correctly, forgot it starts with "0".
Thanks.
  
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