How to create + load from a document (txt) - 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 to create + load from a document (txt) (
/showthread.php?tid=501964)
How to create + load from a document (txt) -
Private200 - 21.03.2014
I want to create a document .txt where I will save a variable (number)
It is going to be used for my trucking future trucking server, and when I open it, I want that a +1 number get's called.
My point is:
When you create the document, the number in it is 0.
When you use a command in-game, it creates a +1 number and gives that number to the user.
Something like
PlayerInfo[playerid][pNumber] == filenumber+1
{
// shits
}
but also,I want that a +1 get's added to the file number.
I am not sure if you understood it, but...thanks.
Re: How to create + load from a document (txt) -
Crazydriver - 21.03.2014
Re: How to create + load from a document (txt) -
Private200 - 21.03.2014
I wont use DINI for saving.
Re: How to create + load from a document (txt) -
Carac - 21.03.2014
Use DUDB mate.
Re: How to create + load from a document (txt) -
Private200 - 21.03.2014
Btw, why you keep telling me what to use? I want an example.