Name Drawing
Well, I'm trying to write a plugin to hide player names when you put your crosshair over them. This is for The Specialists. Here's what I have:
Code:
#include <amxmodx> |
Re: Name Drawing
First off, you're posting in the wrong forum.
I'm moving this for you to the correct forum. Next time, read the forum descriptions. |
Re: Name Drawing
cl_ cvars are client side. You trying to change the cvar on the server.
Changing clients's cvars is slowhacking. You can't change clients's cvars or execute commands on a client in client_disconnect. Client_disconnect is called after the client has disconnected. |
Re: Name Drawing
You can use this plugin to achieve it.
http://forums.alliedmods.net/showthread.php?t=53728 |
Re: Name Drawing
Quote:
|
Re: Name Drawing
There is no cl_drawnames in TS 3.0 (or any version as far as I know). Quite a few have attempted to remove the "HUD" but few have succeeded (and those who have haven't publicly released it).
|
Re: Name Drawing
Thanks for all of the help. It's appreciated.
|
Re: Name Drawing
Oh shoot, I forgot to mention. The method I know works in DoD will probably work in your silly "specialists" game too :P
Simply set ES_SolidState to SOLID_NOT in AddToFullPack and when you put your mouse over them, it will not show their names. I'm assuming that's what cl_drawnames alters. If you need help doing this, reply and I'll post some code. |
Re: Name Drawing
An example illustrating this would be nice, yes. And thank you.
|
Re: Name Drawing
Code:
|
| All times are GMT -4. The time now is 16:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.