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


Messages In This Thread
How to create + load from a document (txt) - by Private200 - 21.03.2014, 14:02
Re: How to create + load from a document (txt) - by Crazydriver - 21.03.2014, 14:22
Re: How to create + load from a document (txt) - by Private200 - 21.03.2014, 14:24
Re: How to create + load from a document (txt) - by Carac - 21.03.2014, 14:45
Re: How to create + load from a document (txt) - by Private200 - 21.03.2014, 14:55

Forum Jump:


Users browsing this thread: 2 Guest(s)