sv_cheats ONLY FOR HOST / ADMIN
Hey guys, my server relies on a lot of cheats to function and I have to let "sv_cheats 1" be on to moderate it without headaches.
However, clients constantly abuse cheats due to this. Question: Is there a way or a plugin here that enables cheats ONLY FOR HOST / ADMIN? I tried looking everywhere for this but can't find anything. Thanks ------------------------- PS: I know I posted in the wrong section - it was accidental. Can't remove it - tried. |
Re: sv_cheats ONLY FOR HOST / ADMIN
Quote:
Code:
#include <sourcemod> |
Re: sv_cheats ONLY FOR HOST / ADMIN
Quote:
Code:
ConVar g_cvCheats; |
Re: sv_cheats ONLY FOR HOST / ADMIN
Quote:
|
Re: sv_cheats ONLY FOR HOST / ADMIN
Quote:
The plugin loads successfully but whenever I can use cheats, so can my clients. If sv_cheats is 1, then we can both use cheats. If sv_cheats is 0, neither of us can use cheats. Am I missing the point as to how to use the plugin? Thanks for everything |
Re: sv_cheats ONLY FOR HOST / ADMIN
Quote:
|
Re: sv_cheats ONLY FOR HOST / ADMIN
Quote:
Also what game is this for? |
Re: sv_cheats ONLY FOR HOST / ADMIN
Oh, I am terribly sorry, I failed to post which game this was about.
It is L4D2. If I enable sv_cheats 1, clients can also use cheats like noclip, respawn, etc. I actually made a separate thread abou this here, relating it in detail: https://forums.alliedmods.net/showth...35#post2782135 In essence, I am trying to use cheats alone - so no one else can do it, but me, the admin/host. |
Re: sv_cheats ONLY FOR HOST / ADMIN
1 Attachment(s)
Quote:
Quote:
|
Re: sv_cheats ONLY FOR HOST / ADMIN
Hey there, thanks, I actually managed to compile it.
Sorry to miss the obvious, but how would I use this? Does this turn on sv_cheats only for me? Thanks for the help |
All times are GMT -4. The time now is 00:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.