How to create + load from a document (txt)
#1

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.
Reply
#2

Reply
#3

I wont use DINI for saving.
Reply
#4

Use DUDB mate.
Reply
#5

Btw, why you keep telling me what to use? I want an example.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)