Raised This Month: $51 Target: $400
 12% 

Showing results 1 to 4 of 4
Search took 0.00 seconds.
Search: Posts Made By: Benoist3012
Forum: Scripting 02-26-2017, 05:20
Replies: 13
Views: 3,358
Posted By Benoist3012
Re: [tf2] how to get cvar value

Unlike OnAllPluginsLoaded (https://sm.alliedmods.net/new-api/sourcemod/OnAllPluginsLoaded) forward, I didn't see for OnConfigsExecuted (https://sm.alliedmods.net/new-api/sourcemod/OnConfigsExecuted)...
Forum: Scripting 02-25-2017, 14:30
Replies: 13
Views: 3,358
Posted By Benoist3012
Re: [tf2] how to get cvar value

Because your plugin could load before the plugin you want to retrieve the cvar from.
Forum: Scripting 02-25-2017, 11:27
Replies: 13
Views: 3,358
Posted By Benoist3012
Re: [tf2] how to get cvar value

If I'm not mistaken yes, use FindConVar (https://sm.alliedmods.net/new-api/convars/FindConVar) native and store it in a global variable, and under OnAllPluginsLoaded...
Forum: Scripting 02-25-2017, 09:36
Replies: 13
Views: 3,358
Posted By Benoist3012
Re: [tf2] how to get cvar value

Read the API (https://sm.alliedmods.net/new-api/convars) then come back here if you any questions.
Showing results 1 to 4 of 4

 
Forum Jump

All times are GMT -4. The time now is 11:59.


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