How would I save these? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: How would I save these? (
/showthread.php?tid=396897)
How would I save these? -
Elysian` - 02.12.2012
First.. I want to make this dynamic... How would I add them in MySQL table called "business"? (Meaning do I use NULL and such?)
Код:
bType,
bOwner[MAX_PLAYER_NAME],
bName[32],
Float: bExteriorPos[3],
Float: bInteriorPos[3],
bInterior,
bLocked,
Float: bMiscPos[3],
bVault,
Text3D: bLabelID,
bPickupID,
bPrice,
Re: How would I save these? -
Konstantinos - 02.12.2012
You need the data types that you can find
here.
Re: How would I save these? -
Elysian` - 02.12.2012
Okay thanks, I've done it.. But how would I save/load it all?
Re: How would I save these? -
Konstantinos - 02.12.2012
Check this tutorial, it'll help you a lot on what you want.
[Tutorial] Making a MySQL system by [HiC]TheKiller
Re: How would I save these? -
Elysian` - 02.12.2012
Not really :/