How to save all cars on a .txt file?
#3

Use sscanf and format.

For saving:
pawn Код:
format(string, "%d|%f|%f|%f|%f|other params", model, X, Y, Z, A);
For loading:
pawn Код:
sscanf(string, "p<|>dffff", X, Y, Z, A);
Reply


Messages In This Thread
How to save all cars on a .txt file? - by blackwave - 14.11.2010, 16:04
Re: How to save all cars on a .txt file? - by Mike_Peterson - 14.11.2010, 16:20
Re: How to save all cars on a .txt file? - by rs.pect - 14.11.2010, 16:21

Forum Jump:


Users browsing this thread: 1 Guest(s)