Hi guys.
Your documentation have one big problem, what I passed by until now, because I want to make better /home plugin, so here is the problem.
There is nowhere tutorial/forum topic/documentation how to include advanced functions. I want to use Ini file to save positions, but I don't know what I need and how to include it to make it work.
Looking good yep? It's from documentation. But I have server error:"IniExists - No such function" - sorry I don't remember it, but everybody knows what's going on.
JintPlugin don't know what is "IniExists".
I saw how you doing it in Python. But I don't want to write in Python, just because I don't know how to include those functions to Javascript. Not only IniExisits, because Unity functions would be also cool, to check if player is on his own foundation for example.
Please help.
Your documentation have one big problem, what I passed by until now, because I want to make better /home plugin, so here is the problem.
There is nowhere tutorial/forum topic/documentation how to include advanced functions. I want to use Ini file to save positions, but I don't know what I need and how to include it to make it work.
Code:
function BroadcastIni() {
if (!Plugin.IniExists("Homes_INI")) {
BroadcastIni = Plugin.CreateIni("Homes_INI");
BroadcastIni.Save();
}
return Plugin.GetIni("Homes_INI");
}
JintPlugin don't know what is "IniExists".
I saw how you doing it in Python. But I don't want to write in Python, just because I don't know how to include those functions to Javascript. Not only IniExisits, because Unity functions would be also cool, to check if player is on his own foundation for example.
Please help.