Person who is nearest to you...
1 Attachment(s)
Code:
How come that it makes a laserbeam just as i spawn, and the beam isent "attached" to a player.. I just attached to the air.. See the attached pic.. |
Re: Person who is nearest to you...
this is a very bad way of doing this. but you should also check if is_user_alive(aimID)
*note that this won't get the nearest person to you. |
Re: Person who is nearest to you...
get_user_aiming ( index, &id, &body, [ distance ] )
must set distance to work like 9999 when i use amxx1.71. |
Re: Person who is nearest to you...
Code:
The amxmodx.inc supply a default value of 9999 if you don't insert the distance parameter otherwise you can set your own if want. |
| All times are GMT -4. The time now is 04:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.