Raised This Month: $ Target: $400
 0% 

Func with the player you're looking at, and prin hud message


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
.Prometheus.
Member
Join Date: Sep 2004
Old 10-18-2004 , 09:10   Func with the player you're looking at, and prin hud message
Reply With Quote #1

Hi

Ok I want to know how I can make it so that I can walk up to someone in game, and use a command like say /givemoney <amount> which will give said amount to the person you are looking at, and the person has to be within a certain range.

Sorry for the badly spelt title, had to fit it all in.

And, I need it to get the name/id/authid of the player you're looking at, then print an hud message when you look at any player at any distance.
.Prometheus. is offline
Send a message via AIM to .Prometheus. Send a message via MSN to .Prometheus.
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 10-18-2004 , 09:48  
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=1630
Johnny got his gun is offline
.Prometheus.
Member
Join Date: Sep 2004
Old 10-18-2004 , 11:52  
Reply With Quote #3

Always you who ends up sorting my problems

Anyway I found the function, get_user_aiming, thanks anyway .
.Prometheus. is offline
Send a message via AIM to .Prometheus. Send a message via MSN to .Prometheus.
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 17:21.


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