![]() |
pb_restrweapons
i dont understand how to block guns whit comand: pb_restrweapons
so i whant you to block guns: 7 8 20 22 23 24 25 # 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 pls help me :\ I'm tried pb_restrweapons "00000007800000000000022232425" but dasn't working :( p.s. Sorry for my bad english |
Re: pb_restrweapons
First go here http://podbotmm.bots-united.com/doc_...iguration.html and read that.
This feature is absolutely new and it has been requested long time ago at BU forum by the people using AMX/AMXX/ClanMod weapon restriction. The people got frustrated when admin restricted for the players for example awp usgae, but bots still could buy it. Since this version it's possible to follow weapon/equipment restrictions done by those fun mods. There is a need to rewrite a bit restmenu.sma in AMX/AMXX to get cvar/cvars interface - to follow it in some another sma plugin to give the correct info to podbot mm binary. There is also a possibility to control manually weapons availability/restriction. The interface lets You use 2 strings bitwise as "00100..." - 0 means the weapon is available, 1 means the weapon is restricted. There are 2 cvars (as strings) defined for restrictions in podbot mm: 0= avialiable 1=restricted 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 Exmple restrictions for shield, awp and XM1014: pb_restrweapons "00000000100000000000010001" Tell me if I am nto clear |
Re: pb_restrweapons
I tried replacing the zeros witrh a 1 for the weapons I want to restrict and it didnt make a difference.
Everything else is working great. Is there some other command to implement this? I am really getting tired of auto-shotties and auto-snipes :ohmy: |
Re: pb_restrweapons
Most left bit from that string is for the knife, most right is for the shield. The numbering starts from 0. Once You get it You should success.
|
Re: pb_restrweapons
thnx kwo...
I am using v16c now and all is fine. Don't know if I goobered up something installing the the latest betas into my all-in-one installation but the restrictions didnt do anything. It wasn't an issue of "how to do it" (1 = restrict selected weapon...got that part :wink:). I was using with the "all-in-one" pak. I have now simplified to just amxmodx 1.76c, metmod 1.19p28, csdm 2.1 and PB v3 16c and all is hunky dory... my bots are even MEAN MEAN fighting machines! :D |
Re: pb_restrweapons
If You can try V3B17 (or even update the binaries to beta V3B17a) it would be good comparation - which version bots are harder. To get working AMX X restrictions with bots You need to use this plugin.
|
Re: pb_restrweapons
Thanks... I will fire it up this weekend for a test drive.
|
Re: pb_restrweapons
kWo:
Loaded V3B17 on our team csdm server and all is well. thanx. :D |
All times are GMT +2. The time now is 15:45. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.