Jump to content

Suggestion / Maybe already there ?

Pending 2.2.0

The Friendly Chap
The Friendly Chap

Posted

Skill Tree has the following api :

 

string[] ST_GetPlayerLevel(BasePlayer player)

// Example
  
[ChatCommand("testapi")]
void TestAPI(BasePlayer player)
{
	var data = (string[])SkillTree.Call("ST_GetPlayerLevel", player);
	Puts($"Level: {data.First()}. XP: {data.Last()}");
}

How would I go about getting the level to be listed as a stat in Player Ranks? I assume also that this would then be able to be pulled though to the SQL database, and then on to the leader board I just got working?
 

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • 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.