Raised This Month: $ Target: $400
 0% 

Targetinfo Hns


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-23-2012 , 03:19   Re: Targetinfo Hns
Reply With Quote #11

Code:
/* If player doesn't hit at anything function returns 0.0,
* in other case the distance between hit point and player is returned.
* If player is aiming at another player then the id and part of body are set. */
native Float:get_user_aiming(index,&id,&body,dist=9999);
Guess ?
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-23-2012 , 12:44   Re: Targetinfo Hns
Reply With Quote #12

Quote:
Originally Posted by ConnorMcLeod View Post
Code:
/* If player doesn't hit at anything function returns 0.0,
* in other case the distance between hit point and player is returned.
* If player is aiming at another player then the id and part of body are set. */
native Float:get_user_aiming(index,&id,&body,dist=9999);
Guess ?
where the hell did you find that? hha so default is set to 9999 thanks.
Doc-Holiday is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 07-23-2012 , 13:01   Re: Targetinfo Hns
Reply With Quote #13

Quote:
Originally Posted by Doc-Holiday View Post
where the hell did you find that? hha so default is set to 9999 thanks.
amxmodx.inc, line 218-221

EDIT:

The wiki even shows it:
http://www.amxmodx.org/funcwiki.php?...ming&go=search
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!

Last edited by Exolent[jNr]; 07-23-2012 at 13:02.
Exolent[jNr] is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-23-2012 , 14:33   Re: Targetinfo Hns
Reply With Quote #14

Quote:
Originally Posted by Exolent[jNr] View Post
amxmodx.inc, line 218-221

EDIT:

The wiki even shows it:
http://www.amxmodx.org/funcwiki.php?...ming&go=search
Guess i need to look there... i usually just use scripting help to search for things... find better and newer examples.
Doc-Holiday is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-23-2012 , 14:37   Re: Targetinfo Hns
Reply With Quote #15

I can't believe guys don't open .inc files of wiki.
Also, HLSDK is a treasur.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-23-2012 , 14:43   Re: Targetinfo Hns
Reply With Quote #16

Quote:
Originally Posted by ConnorMcLeod View Post
I can't believe guys don't open .inc files of wiki.
Also, HLSDK is a treasur.
to be completely honest i don't really understand the sdk... as for include files i do when i cant find the answer else where.
Doc-Holiday is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 07-23-2012 , 15:19   Re: Targetinfo Hns
Reply With Quote #17

I thought you were learning c/c++, also c/c++ can be easlily read even if you don't know that language (i'm still in that case), especially when you can make the relation between what you have seen in plugins codes and what you see in HLSDK.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-23-2012 , 15:24   Re: Targetinfo Hns
Reply With Quote #18

Quote:
Originally Posted by ConnorMcLeod View Post
I thought you were learning c/c++, also c/c++ can be easlily read even if you don't know that language (i'm still in that case), especially when you can make the relation between what you have seen in plugins codes and what you see in HLSDK.
I can read it yes... and i am learning it but i dont spend much time here as im usually at work lol until it slows down its on hold

I work graveyard from 1830-0630 6days a week being a freaking supervisor in a security company is very irritating lol were in the process of hiring..

And my learning of C/C++ is tutorials online reading things looking at different code. and a big C++ for dummies lol
Doc-Holiday is offline
Reply



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 15:02.


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