Raised This Month: $ Target: $400
 0% 

HAM_USE for hostage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 02-24-2013 , 01:11   HAM_USE for hostage
Reply With Quote #1

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

Last edited by avril-lavigne; 02-24-2013 at 01:33.
avril-lavigne 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 21:48.


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