.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   Common Questions (http://forums.bots-united.com/forumdisplay.php?f=51)
-   -   pb_restrweapons not working correctly (http://forums.bots-united.com/showthread.php?t=9444)

brlight 28-07-2013 19:44

pb_restrweapons not working correctly
 
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.

KWo 29-07-2013 18:45

Re: pb_restrweapons not working correctly
 
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"

brlight 04-08-2013 16:56

Re: pb_restrweapons not working correctly
 
Thank you Kwo, didnīt count them correctly, forgot it starts with "0".
Thanks.


All times are GMT +2. The time now is 14:14.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.