Enable buy for both teams on maps w/o func_buyzone or info_map_parameters
As the title says I want to enable buy for both teams on maps like de_nuke to be able to buy if a player spawns at enemy base (rtd thing), but without making the "default buyzone around players spawn" area bigger (like VEN's plugin) or enabling anywhere buy.
On maps where func_buyzone exists I got that work successfully with Code:
entity_set_int( i_BuyZone, EV_INT_team, 0 );Edit: I do now, create a func_buyzone somewhere on the map and use fake_touch based on mp_buytime then supercede it, even if I have this idea a small help would be cool :P Any help appreciated and thanks in advance! |
Re: Enable buy for both teams on maps w/o func_buyzone or info_map_parameters
de_nuke has info_map_parameters
|
Re: Enable buy for both teams on maps w/o func_buyzone or info_map_parameters
I realized that later, but it only allows/blocks the buy per team, it does not create a buyzone if a T spawns at CT for example.
|
Re: Enable buy for both teams on maps w/o func_buyzone or info_map_parameters
What about disabling the default buy zones and create a func_buyzone at each spawn?
|
Re: Enable buy for both teams on maps w/o func_buyzone or info_map_parameters
I had that in my mind too, but it is easier to create a new buyzone for only the time it is needed I think.
This is where I got so far, I'm sure there are some mistakes but it works yet :D PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 08:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.