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"
|
The knife cannot be actually restricted, so the setting:
pb_restrweapons "10000000000000000000000000"
has no sens.
To restrict USP:
pb_restrweapons "01000000000000000000000000"
To restrict GLOCK18:
pb_restrweapons "00100000000000000000000000"
To restrict DEAGLE:
pb_restrweapons "00010000000000000000000000"
(...)
To restrict AWP:
pb_restrweapons "00000000000000000000010000"
To restrict G3SG1:
pb_restrweapons "00000000000000000000001000"
To restict SG550:
pb_restrweapons "00000000000000000000000100"
To restrict M249:
pb_restrweapons "00000000000000000000000010"
To restrict shield:
pb_restrweapons "00000000000000000000000001"
If You want to restrict 2 or more weapons, You need to combine those bits, i.e. - if You want to restrict M249 and DEAGLE, You need to do it so:
pb_restrweapons "00010000000000000000000010"
That's it. If You have troubles to count to 25, I cannot help. Sorry.
If You are using AMX X and You want podbots to follow the restrictions humans have, You need to install this plugin:
http://filebase.bots-united.com/inde...ct=view&id=423