Get dini data - 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: Get dini data (
/showthread.php?tid=356425)
Get dini data -
SomebodyAndMe - 03.07.2012
Hey there,
How do I get data out of the file with Dini, and then directly add the amount of score, or money to the player?
This is what I currently have but they give some errors:
pawn Код:
dini_Int(file, "money") = GivePlayerMoney(playerid, money);
I am aware of that, that is wrong. But I don't know how to use it correctly.
Thanks in advance,
-Kevin
Re: Get dini data -
RedWolfX - 03.07.2012
Whisper me your skype or teamviewer and i'll help you.
Re: Get dini data -
Sinner - 03.07.2012
pawn Код:
new money = dini_Int(file, "money");
GivePlayerMoney(playerid, money);