Raised This Month: $ Target: $400
 0% 

Get classname from aiming


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
KneeGrow
Junior Member
Join Date: Mar 2014
Old 07-30-2014 , 13:25   Re: Get classname from aiming
Reply With Quote #9

Has been changed but I don't know what's with emit_sound
chat is printed but sound unheard
PHP Code:
if(is_user_alive(id))
    {
        if(
equal(szClassName"func_door_rotating")) 
        { 
            
emit_sound(id,CHAN_AUTO,doorbell,VOL_NORM,ATTN_NORM,0,PITCH_NORM);
            
client_cmd(id,"say /me rings doorbell");
            return 
PLUGIN_HANDLED;
        }
        
client_print(id,print_chat,"[ARP] You must be looking at a door");
        return 
PLUGIN_HANDLED;
    }
    
client_print(id,print_chat,"You must be alive to do this");
    return 
PLUGIN_HANDLED
KneeGrow 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 13:06.


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