Jump to content

TCAdmin Advanced Module (Question)


Twistedd

Recommended Posts

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

$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

  • 1 month later...
$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 by Twistedd
Link to comment
Share on other sites

  • 1 year later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Who's Online   0 Members, 0 Anonymous, 12 Guests (See full list)

    • There are no registered users currently online
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use