[L4D2] Ultra realism
i got a question,i can hide the hud (cl_drawhud 0 and hidehud 64) but that is only client sided,so only i have no hud. is it possible to hide the hud for all the players who join my server. (me and my friends are already realism expert pro's,now we just want Ultra realism. but i just cant disable the hud for them.
(oh and hidehud 64 hides the health of the other players,if i use anything else then hidehud 64 i cant scroll through my inventory,somehow 64 is the only one that let me scroll through my inventory.) video: http://www.youtube.com/watch?v=VYlD09EOSVE i want it to be like this (although i rather have a crosshair when i zoom in with the sniper) |
Re: [L4D2] Ultra realism
Do for every survivor at round start this:
PHP Code:
|
Re: [L4D2] Ultra realism
Quote:
|
Re: [L4D2] Ultra realism
You could take a look at this plugin since that seems to have what you need so you can edit it so it does it when the round starts.
Making a ".sp" is simply a matter of making a .txt file or something and renaming it to .sp then go about copy/pasting. Also, if you do plan on trying to make your own plugin out of it, make sure you pay careful attention to any errors the complier shows you and try to correct it accordingly. I'd try to make it for you myself, but I'm leaving for a trip soon :( |
Re: [L4D2] Ultra realism
:)now that i think about it,Hidehud 64 only hides the hp bar,cl_drawhud 0 only removes the weapon stats bar. so if you could combine them. maybe i can find a value that hides both health and weapon status. but the hidehud command is really messy,since most of the value's block the change weapon (mousewheel up/down) function.
|
Re: [L4D2] Ultra realism
ZombieHunterX,
If you do make this plugin you mind posting it becasue i would love to add this to my servers! Thank you! |
Re: [L4D2] Ultra realism
So did anyone know how to make cl_drawhud work in sv_cheat 0?
I only make this work... SetEntProp(client, Prop_Send, "m_iHideHUD", 64); can anyone help me to combine both two? |
Re: [L4D2] Ultra realism
public OnPluginStart()
{ RegConsoleCmd("sm_sr", SuperRealismOn, "SuperRealism"); } public Action:SuperRealismOn(client, args) { SetEntProp(client, Prop_Send, "m_iHideHUD", 64); CheatCommand(client, "cl_drawhud", "0"); return Plugin_Continue; } /* Execute Cheat Commads */ stock CheatCommand(client, const String:command[], const String:arguments[]) { if (!client) return; new admindata = GetUserFlagBits(client); SetUserFlagBits(client, ADMFLAG_ROOT); new flags = GetCommandFlags(command); SetCommandFlags(command, flags & ~FCVAR_CHEAT); ClientCommand(client, "%s %s", command, arguments); SetCommandFlags(command, flags); SetUserFlagBits(client, admindata); } ===================================== cl_drawhud 0 didnt work could any one help me to fix it? |
Re: [L4D2] Ultra realism
any one?
|
Re: [L4D2] Ultra realism
for (new i = 1; i <= GetMaxClients(); i++)
{ if (IsClientConnected(i) && IsClientInGame(i) && (!IsFakeClient(i))) { if (!i) return; new admindata = GetUserFlagBits(i); SetUserFlagBits(i, ADMFLAG_ROOT); new flags = GetCommandFlags("cl_drawhud"); SetCommandFlags("cl_drawhud", flags & ~FCVAR_CHEAT); ClientCommand(i, "%s %s", "cl_drawhud", "0"); SetCommandFlags("cl_drawhud", flags); SetUserFlagBits(i, admindata); { { I took your code and modified it for testing purposes, this shows how to get the clients ID ('client' in your example, 'i' in this one). The problem is the client will receive an error message saying sv_cheats must be enabled blah. Not sure how to hide the weapon list / ammo but it would be very very nice! |
All times are GMT -4. The time now is 16:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.