AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [l4d req] Only admin can sm_cvar (https://forums.alliedmods.net/showthread.php?t=99582)

ShambleS 08-07-2009 07:06

[l4d req] Only admin can sm_cvar
 
Ok so i was playing on my server todays and the bots were being a pain..

I opend console and did
sb_crouch 1
That told me the you cant do this its a cheat message.

so i thought what if i did...

sm_cvar sb_crouch 1
And it worked straight away.
Now i am worried that any client can do this..

I dont want to totaly dissable sm_cvar commands as they are a very heavy part of my dificulty balance.

i would really like for them to be un-useasble for clients though, But i want them to be ok when used in the CFG or if an admin needs to use them. "sm_slay
admins"
I think this is the only issue with SM_ and only sm_cvar will allow things like this to happen..

maybe you know diferent?

A little help would be apretiated.
Thank you.

savagekid 08-07-2009 07:25

Re: [l4d req] Only admin can sm_cvar
 
sm_cvar only works for admins on your server. So you probably set yourself as an admin, and that's y you can use that. Don't worry clients can't use sm_cvar to change cvars on your server.

ShambleS 08-07-2009 07:39

Re: [l4d req] Only admin can sm_cvar
 
Quote:

Originally Posted by savagekid (Post 892447)
sm_cvar only works for admins on your server. So you probably set yourself as an admin, and that's y you can use that. Don't worry clients can't use sm_cvar to change cvars on your server.


oh cool
thats a reliefe


All times are GMT -4. The time now is 03:20.

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