Raised This Month: $ Target: $400
 0% 

2 questions!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
LynX
Veteran Member
Join Date: Oct 2004
Old 11-03-2005 , 11:14  
Reply With Quote #4

There is easier way v3x.

Code:
new origin[3], eOrigin[3]; new Float:vel[3]; get_user_origin( id, origin ); new players[32]; new num, player; get_players(players, num, "a");   for (new i = 0; i < num; i++) {     player = players[i];               if( player != id ) {                 //Check their range.         get_user_origin( player, eOrigin );                 if( get_distance( origin, eOrigin ) <= distance ) // distance = any number you specify         {               // do stuff here         }     } }

Also, get_user_aiming shall be enough for you second question.
__________________
Current plugin : SoulPunisher anti-cheat
Percentage done : {||--------} 20%

If you think v3x is a PIMP, paste this into your sig!

If you think Bailopan is DA BOMB, paste this into your sig
LynX is offline
Send a message via ICQ to LynX
 



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 23:40.


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