Add new Convar
Hi
I want create new Command for players like test_test , and get value ( like test_test 1 , test_test 2 , etc ... ) and this command do nothing. can anyone help? |
Re: Add new Convar
ConVar = Console Variable
- This is setting/option. ex. mp_gravity, sv_cheats etc. etc. - You can create these cvars with SourceMod to Source Dedicated Server, but not for players. Cmd = Command - This is like "trigger", what launch action or some code. ex. +duck, -duck, noclip, say, sm_help etc. etc. - You can create these cmds to SRCDS and for players. To save players settings: use ClientPrefs ( [Tutorial] ClientPrefs ) |
Re: Add new Convar
Harry56, do you mean chat command, like
Quote:
Code:
public void OnPluginStart() |
All times are GMT -4. The time now is 06:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.