[CSGO] Enable sv_cheats 1 but only for certain players?
Is there any way to enable sv_cheats 1
but only for certain players? |
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
For Admin
Code:
#include <sourcemod> |
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
Thanks for the reply.
I built the plugin I see it running. I set sv_cheats 0 on the server I have my correct steam id set up in admins_simple.ini "STEAM_1:0:123456789" "99:z" I can use this command and see the sm admin menu sm_admin But my key binds that depend on sv_cheats 1 do not work. What am I doing wrong? |
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
For testing I built a version that doesn't use the sm admin flags and gives cheats to all human players
but it doesn't work either. What is SendConVarValue() supposed to do? At least for csgo and setting sv_cheat 1 for a player it doesn't work. PHP Code:
|
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
Quote:
|
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
Quote:
Another CSGO weirdness...... |
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
It does work for CS:GO, just make sure you do so correctly -
PHP Code:
|
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
Quote:
2) I made sure the plugin in was running. 3) And nothing was reported in the sm error logs 4) I set sv_cheats 0 on the server 5) when I join the server and try to issue a command that needs sv_cheat 1 it still doesn't let me. ] rcon sm plugins list [SM] Listing 40 plugins: ... ... 40 "ABS_CSGO_Cheats.smx" ] rcon bot_stop 1 Can't use cheat cvar bot_stop in multiplayer, unless the server has sv_cheats set to 1. What could it be? |
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
bot_stop is an rcon command or listen server command, not a player command. You would need to use rcon bot_stop to be able to use it.
If you want to test sv_cheats is working, just join with the code I provided and try the command in console - thirdperson If you are unable to go thirdperson, most likely you have a plugin that is blocking. |
Re: [CSGO] Enable sv_cheats 1 but only for certain players?
Quote:
I think the problem is I don't understand what this SendConVarValue() is supposed to do. I am thinking it enables the ability for the specified player to use any server command that needs to have sv_cheats 1 The code as shown doesn't work that way. And I don't understand the answer since I am not sure of what you mean by "player commands" For what I know there are only two types of csgo commands 1) Commands for the server You can enter them right at the server console or you can enter them from rcon There is no difference using rcon. It is exactly like you issued the server command at the server console. 2) The only other csgo commands I know of are client commands These are entered at the game's player's console. What are "player commands"? What do you mean by 2rd person? For now I have an OK workaround where I enable sv_cheats 1 only when I am on the server. Thanks to everyone for the replies. PHP Code:
|
All times are GMT -4. The time now is 17:57. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.