AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Turning off BuyZones (https://forums.alliedmods.net/showthread.php?t=17308)

Jordan 08-29-2005 10:02

Turning off BuyZones
 
Hey, I've got a map that is supposed to have no buying allowed but somehow my version has buying... Is there a way to turn it off?


Also which file has the startup configs for the server? I want to change the timelimit >.<

Thanks for your help :)

Emil118 08-29-2005 10:22

I dont think turning off buyzones is possible...

v3x 08-29-2005 10:28

Code:
#include <amxmodx> #include <engine> public plugin_init() {     register_plugin("Remove Buyzones","0.1","v3x");     RemoveBuyzones(); } public RemoveBuyzones() {     new iEnt;     while((iEnt = find_ent_by_class(iEnt,"func_buyzone")) != 0)     {         remove_entity(iEnt);     }     server_print("Buyzones removed"); }

S4in7 08-29-2005 10:33

you can change the timelimit in your server.cfg in your mod-directory

v3x 08-29-2005 10:35

ingenious ;)

Jordan 08-29-2005 11:24

Does it matter where in the map file I stick it? Do I even stick it in the map file? :?

BTW I looked in my server.cfg - it says that it runs for dedictated servers only... It will keep starting up at 45 minutes until I find the right file >.<

XxAvalanchexX 08-29-2005 17:13

As soon as you remove the buy zones, next round it will revert to player spawns being buy zones.

v3x 08-30-2005 17:37

Bah, just look in a DM plugin then. :P


All times are GMT -4. The time now is 14:26.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.