How to automatically reload tent inventory from database

derekmartinez18

New Member
I'm working on an idea of mine to have a bit more dynamic system for tents. Basically, I want to be able to reload the inventory of a tent every x minutes. I know a few other scripting languages, but not this so any help would be nice.
 
The database has no power to force data to the server, the server requests information.
This idea would need to be done in the game.
 
How would that be done in script then? I assume a never ending loop would be needed with sleep but what code would initiate this request from the server to the database?
 
Back
Top