[SOLVED] Aiming and making players glow
Q1-
How can I show info about the aimed player? For Example: I aim at Mike and I see a HUD message like "You aimed at Mike. He has a crossbow." Q2- How can I make a player glow? I used this code to make 'id' glow blue: Code:
set_user_rendering(id,kRenderFxNone,0,0,255,kRenderNormal,25)Note: I am working on Half-Life |
Re: Aiming and making players glow
1. For example:
get_user_aiming (in player prethink)Don't display a hudmessage everu prethink if still aiming at the same player to not flood the clients. 2. Use kRenderFxGlowShell instead of kRenderFxNone |
Re: Aiming and making players glow
Thanks VEN. I will try that ASAP.
|
Re: Aiming and making players glow
Shouldn't he use kRenderGlow instead of kRenderNormal if he wants the person to glow?
|
Re: Aiming and making players glow
It worked. Thanks. (God save Potti! It really helps me with tests!)
Edit: Aim worked too:up: |
| All times are GMT -4. The time now is 06:59. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.