Supported/Recommended way to set client convars?

Please post any questions about developing your plugin here. Please use the search function before posting!
User avatar
Hymns For Disco
Junior Member
Posts: 15
Joined: Wed Nov 22, 2017 7:18 am

Supported/Recommended way to set client convars?

Postby Hymns For Disco » Thu Jan 18, 2018 12:43 am

Is there a supported or recommended way of setting client convars? In Sourcemod there is a function SendConVarValue which will allow you to set the value of a cvar for a specific client, for example sv_airaccelerate or sv_autobunnyhopping. What is the best equivalent solution in source-python? I searched through the forums and found a solution that involved using ProtobufMessage from the package _messages, however I was not able to import this package and there was no description of where it was from.
User avatar
L'In20Cible
Project Leader
Posts: 1044
Joined: Sat Jul 14, 2012 9:29 pm
Location: Québec

Re: Supported/Recommended way to set client convars?

Postby L'In20Cible » Thu Jan 18, 2018 5:04 am


Return to “Plugin Development Support”

Who is online

Users browsing this forum: No registered users and 2 guests