AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Func with the player you're looking at, and prin hud message (https://forums.alliedmods.net/showthread.php?t=6898)

.Prometheus. 10-18-2004 09:10

Func with the player you're looking at, and prin hud message
 
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.

Johnny got his gun 10-18-2004 09:48

http://forums.alliedmods.net/showthread.php?t=1630

.Prometheus. 10-18-2004 11:52

Always you who ends up sorting my problems :)

Anyway I found the function, get_user_aiming, thanks anyway :).


All times are GMT -4. The time now is 17:21.

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