fread [NOT SOLVED]
#1

Hi...
I would like to store the player's money in a file named with the player name...
but how can i make it replace the new money with the old money?
Reply
#2

Open the file in io_write mode. This will overwrite everything in the file and then rewrite the old stuff in
https://sampwiki.blast.hk/wiki/Fopen
Reply
#3

ok thx...and how can I make my script read everything on its one?...
so like if I safe the money, the kicks etc. in it..
how can i make it get the money number and the kick number seperated, so that i can set the money to it..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)