Raised This Month: $ Target: $400
 0% 

[DONE]How to check if map has bombsite?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unkolix
Veteran Member
Join Date: Sep 2012
Old 02-08-2013 , 14:19   Re: [DONE]How to check if map has bombsite?
Reply With Quote #9

I've done like this:
PHP Code:
new bool:g_bHasBombSite
//In plugin init
if( find_ent_by_class(-1"func_bomb_target") || find_ent_by_class(-1"info_bomb_target") )  
{
    
g_bHasBombSite true;

Then
PHP Code:
if(g_bHasBombSite
Unkolix 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 11:11.


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