func_bomb_target
how to catch an event when a player is in the area func_bomb_target ?
|
Re: func_bomb_target
For all players or only for c4 carrier ?
|
Re: func_bomb_target
Quote:
|
Re: func_bomb_target
Catch the event you want and check if cs_get_user_mapzones for the player has the corresponding bit for bomb target.
Code:
#define CS_MAPZONE_BUY (1<<0)If you need to know for a player without the ability to plant, you could attempt to find the bounds of the bomb target's entity (pev_mins and pev_maxs) and check if the player is within that space. |
Re: func_bomb_target
Quote:
|
Re: func_bomb_target
You can make a stock or macro for it:
Code:
Code:
|
Re: func_bomb_target
Quote:
|
| All times are GMT -4. The time now is 11:29. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.