DINI saved, now how do to to set? - 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: DINI saved, now how do to to set? (
/showthread.php?tid=553965)
DINI saved, now how do to to set? -
maikons - 01.01.2015
So folks thought I had made a good house system, but is not loading right not ...
The name of the owner of the house to save the notes there .ini block, but it is not set in the load callback
Save
pawn Код:
dini_Set(arq,"Dono",HouseInfo[houseid][Dono]);
Load
(have error?)
pawn Код:
format(HouseInfo[houseid][Dono], MAX_PLAYER_NAME, dini_Get(arq, "Dono"));
Re: DINI saved, now how do to to set? -
Schneider - 01.01.2015
pawn Код:
format(HouseInfo[houseid][Dono], MAX_PLAYER_NAME, "%s", dini_Get(arq, "Dono"));