HAM_USE for hostage
Code:
public event_hostage_used(hostage, id) {I want terr can move hostages, I found cs_set_hostage_foll(id) . I dont check teams because it should work for all and how to set zone with Code:
create_entity_by_classname("func_hostage_rescue") |
Re: HAM_USE for hostage
Ham Use Function:
Code:
public HamUse(this, idcaller, idactivator, use_type, Float:value)Code:
#define MIN_ADD -100.0 |
Re: HAM_USE for hostage
Your way doesn't check if player is CT or T, so CT never receive bonus.
Also you forgot to check hostage nextuse. You should at least check if user is T. I have this : PHP Code:
|
Re: HAM_USE for hostage
Interesting. Thanks for the code. I like to learn something new for me.
|
Re: HAM_USE for hostage
and my last request save/load (without menu) for hostages
ven`s code PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 21:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.