DJson Files - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: DJson Files (
/showthread.php?tid=195871)
DJson Files -
Hal - 04.12.2010
Is there a way to put a djson file in a folder, ex.Scriptfiles/Vehicles
Do i put the file name as Vehicles/blah.djson
Thanks
Re: DJson Files -
Retardedwolf - 04.12.2010
Yes, djCreateFile ( "Vehicles/blah.json" );
Re: DJson Files -
Hal - 04.12.2010
Thanks
Re: DJson Files -
Hal - 04.12.2010
Quote:
Originally Posted by Retardedwolf
Yes, djCreateFile ( "Vehicles/blah.json" );
|
pawn Код:
format(VFile, sizeof(VFile), "Vehicles/V_%d.djson", id);
djCreateFile(VFile);
Its not saving the file AT ALL. the VFile string size is 32, but I changed it to 64 to see if it wasn't saving b/c of the string but it didn't help.
Am I doing it wrong? or is djson incapable