Return mp_buytime to server settings
Hey guys,
I'm having trouble with returning the server cvar mp_buytime to it's original settings after changing it in a special round. This is how I have it set up in my plugin: PHP Code:
Also is this the most efficient way of trying to prevent players from buying weapons? Basically i'm trying to make it a knife round, so players are stripped and given only a knife, then i'm trying to prevent them from being able to pick up weapons as well as not buy any weapons. Cheers! |
Re: Return mp_buytime to server settings
PHP Code:
You can set mp_buytime in cstrike/game.cfg if you want a specific value to be set each new map. |
Re: Return mp_buytime to server settings
Thanks Connor! That worked
However i'm still having another issue now. During my knife round I set use: PHP Code:
"mp_buytime" changed to "0" "mp_buytime" changed to "0.25000" It seems like 0.25 is the lowest it can be changed to. Is there something I am overlooking or another way to stop them from buying weapons during my knife round? Also thanks for letting me know, but I realize I can change it how I want for each map. For this i'm only changing it during a knife round selected by an admin. |
Re: Return mp_buytime to server settings
There are a few scripts in this section for blocking the buy command. Try this one:
http://forums.alliedmods.net/showthr...ight=block+buy Edit: Actually, this post may be more helpful: http://forums.alliedmods.net/showpos...47&postcount=4 |
| All times are GMT -4. The time now is 14:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.