Why Doesn't this work?
#1

So.... i have this houseing script i have, and it works great in the following way:

1. person finds a house
2. person buy it for the price
3. person exits game and comes back
4. person goes back into his house and continues to have fun



That's just an improv of what someone might do.... but the error i'm having is where i need to write the files.

Write now, its all setup to be saving a file in /house/users and then save the file accordingly to when the player buys a house and such...

but it's not creating the file in that directory. it's just still empty. I have tested it even

Also, if i restart my server, then all the houses are for sale again because of the file not being saved...


PLEASE HELP! (If needed i will pm you the script)


-Kevin
Crazy Awesome (Owner)
Reply
#2

Have you tried creating the file the information is supposed to be written to? If this still doesnt work, PM me the script.
Reply
#3

It probaly stores in an enum, make sure it saves in an file. In an call back(OnPlayerUpdate) (OnPlayerDisconnect) check if there is something like: SavePlayerData, SaveHouseFile
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)