Twistedd Posted May 12, 2016 Share Posted May 12, 2016 If I have a variable named this for example: tickrate.php <?php include('default_values.php'); $billing_api_values["game_Tickrate"] = "ConfigOption:Server Tickrate"; ?> How would I make it output in the server.cfg? $[game_Tickrate] or $[Tickrate] Which one is it? Link to comment Share on other sites More sharing options...
Dennis Posted May 13, 2016 Share Posted May 13, 2016 $billing_api_values["game_Tickrate"] = "ConfigOption:Server Tickrate"; should be $billing_api_values["gamevar_Tickrate"] = "ConfigOption:Server Tickrate"; "gamevar" means 'game variable'. If you do it like that, you should also use $[Tickrate]. Link to comment Share on other sites More sharing options...
Twistedd Posted July 6, 2016 Author Share Posted July 6, 2016 (edited) $billing_api_values["game_Tickrate"] = "ConfigOption:Server Tickrate"; should be $billing_api_values["gamevar_Tickrate"] = "ConfigOption:Server Tickrate"; "gamevar" means 'game variable'. If you do it like that, you should also use $[Tickrate]. I have done that in the server config of the (TCAdmin) but it doesnt seem to output the values? <?php include('default_values.php'); $billing_api_values["gamevar_ServerTickrate"] = "CustomField:Server Tickrate"; ?> Doesnt work as well. Edited July 6, 2016 by Twistedd Link to comment Share on other sites More sharing options...
Raizio Posted July 7, 2016 Share Posted July 7, 2016 Are you sure you put in the correct value php file in the product in WHMCS? Link to comment Share on other sites More sharing options...
Twistedd Posted July 7, 2016 Author Share Posted July 7, 2016 Are you sure you put in the correct value php file in the product in WHMCS? Yes, can you give me an example of yours or like a screenshot on what it should look like? Link to comment Share on other sites More sharing options...
Twistedd Posted July 9, 2016 Author Share Posted July 9, 2016 bump? Link to comment Share on other sites More sharing options...
memeroot Posted January 18, 2018 Share Posted January 18, 2018 I also need help with this. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now