Code:
public event_hostage_used(hostage, id) {
if(get_pcvar_num(terrcanmove) == 1) {
if((get_user_button(id) & IN_USE))
cs_set_hostage_foll(id)
client_print(0,print_chat,"!!! Terrorist is moving a hostage !!!")
}
else
client_print(0,print_chat,"!!! ONLY CT can Move hostages !!!")
}
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")
new Float:maxs[3] = {16.0,16.0,36.0}
new Float:mins[3] = {-16.0,-16.0,-36.0}
entity_set_size(myent, mins, maxs);
???
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc