![]() |
How do i do?
Hey, im making like a family system for a server and wants to use a DB to store the family info, but how do i load it in to this script? Iknow how to load from servrr. strings, but not from a DB.
Have the following: PHP Code:
|
Well you'll need to use triggerserver, and triggerclient to send data back and forth to the client. Then on the server-side you can have a DB NPC called Family (using it for the sake of the example), or so on.
In your Family's DB script you can write some accessors and mutators, here's some very generic ones. PHP Code:
PHP Code:
|
Ok, but how can i get them in to the TextList after that?
|
With the params received on the client-side, you can store them into variables such as this.familys, with that you can then do the following.
PHP Code:
|
Thanks for the help!
|
| All times are GMT +2. The time now is 11:57 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.