Raised This Month: $ Target: $400
 0% 

Solved Detect if player1 and player2 is aiming each other?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kotoamatsukami
Member
Join Date: Jan 2017
Location: Malaysia
Old 03-01-2017 , 12:56   Detect if player1 and player2 is aiming each other?
Reply With Quote #1

Hello, greetings.

I am working on a plugin, that use the features that I mentioned on the title. Is there any possible way to do this? If so, is it like;

PHP Code:
public Randomid )
{
    if( !
is_user_aliveid ) ) return;
    
    new 
id2body;
    
    
get_user_aimingidid2body )
    
get_user_aimingid2idbody )
    
    if( 
pevidpev_button ) & IN_USE && cs_get_user_teamid ) != cs_get_user_teamid2 ) )
    {
        
//......
    
}

Thank you for your time...

Last edited by Kotoamatsukami; 03-02-2017 at 10:20.
Kotoamatsukami is offline
 


Thread Tools
Display Modes

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 20:45.


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