Raised This Month: $7 Target: $400
 1% 

[INC] Append new ConVars to plugin config v2.1


Post New Thread Reply   
 
Thread Tools Display Modes
T1MOXA
Member
Join Date: Aug 2016
Old 07-21-2017 , 14:20   Re: [INC] Append new ConVars to plugin config v2.1
Reply With Quote #21

The version is listed.

PHP Code:
public Plugin MyInfo =
{
    
name "test",
    
author "T1MOXA",
    
description "",
    
version "0.3.9",
    
url ""
}; 
[test.smx] ConVars appended to file "cfg/sourcemod/ConfigName.cfg" (version: "")

Last edited by T1MOXA; 07-21-2017 at 14:22.
T1MOXA is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 07-21-2017 , 16:10   Re: [INC] Append new ConVars to plugin config v2.1
Reply With Quote #22

It's myinfo, not MyInfo.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
T1MOXA
Member
Join Date: Aug 2016
Old 07-22-2017 , 09:58   Re: [INC] Append new ConVars to plugin config v2.1
Reply With Quote #23

The plugin works either way )
But thanks, will check.

UPD.
Now workd fine:
// @version: 0.3.9

Last edited by T1MOXA; 07-22-2017 at 17:42.
T1MOXA is offline
T1MOXA
Member
Join Date: Aug 2016
Old 01-01-2019 , 19:27   Re: [INC] Append new ConVars to plugin config v2.1
Reply With Quote #24

There is a proposal to add a check whether there is a cvar in the new version of the plugin, if not, then remove it from the config.
This needed to avoid such errors "Unknown command ..."
T1MOXA is offline
T1MOXA
Member
Join Date: Aug 2016
Old 01-01-2019 , 19:37   Re: [INC] Append new ConVars to plugin config v2.1
Reply With Quote #25

And it would be nice to check whether new cvars have been added, so there was no such spam:
PHP Code:
// Append new ConVars for plugin ***
// @version: 1.0.1

// Append new ConVars for plugin ***
// @version: 1.0.2

// Append new ConVars for plugin ***
// @version: 1.0.3 
T1MOXA is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:38.


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