Raised This Month: $ Target: $400
 0% 

get_user_aiming, don't affect on ents.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
xbatista
Veteran Member
Join Date: Mar 2008
Location: Lithuania
Old 06-08-2009 , 06:15   get_user_aiming, don't affect on ents.
Reply With Quote #1

PHP Code:
static targetbody;
    new 
Float:dist get_user_aiming(indextargetbody); 
So how to ignore entities with this thing? ,cuz amxx wiki functions writes :
Quote:
this also returns an ent_id (victim) > 0 if you are aiming at an entity which is not a player.
I need only when aiming on players and don't affect on ents.
__________________

Last edited by xbatista; 06-08-2009 at 06:45.
xbatista is offline
Send a message via Skype™ to xbatista
 


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 13:48.


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