Raised This Month: $ Target: $400
 0% 

issue blocking buyzone


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-19-2011 , 18:45   Re: issue blocking buyzone
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
The error is from the hamsandwich module but I don't see any hamsandwich code there.
Yeah thats what i said lol...

It works just fine in battlefield mod/vip mod/ and like 4 other plugins i have it in.

Quote:
Originally Posted by Tirant View Post
It's better to just make a map info entity and set buying to no team. Do this in plugin_precache()

Code:
#include <engine>

new ent = create_entity("info_map_parameters");
DispatchKeyValue(ent, "buying", "3");
DispatchKeyValue(ent, "bombradius", "1");
DispatchSpawn(ent);
Plugin precahce is only fired at plugin start correct?? which means it would always block? i need to only block if bool is true.

Last edited by Doc-Holiday; 07-19-2011 at 18:49.
Doc-Holiday is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:05.


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