Posts: 82
Threads: 22
Joined: Apr 2009
Reputation:
0
Hello, first off I'm starting to get a hang of scripting, and now I want to save multiple content for my RP Server:
-Save Weapons
-Save Crack & Pot
-Save Materials
-Save /skills Level
I want to save those things on log out and/or crashes.
All help is appreciated.
Posts: 262
Threads: 23
Joined: Dec 2007
Reputation:
0
We help you with errors, but we don't make scripts. Go to the Script Request thread if you want other to create it for you.
Posts: 82
Threads: 22
Joined: Apr 2009
Reputation:
0
I want to do it myself, but what do I do?
Posts: 262
Threads: 23
Joined: Dec 2007
Reputation:
0
First Create Login/Register Function
Then You Place Them Under /login and /register
Then You Create Save Function
You need to put that Save Function under OnPlayerDisconnect
For Further Help Look Wiki at File Functions : [iurl=https://sampwiki.blast.hk/wiki/File_Functions]https://sampwiki.blast.hk/wiki/File_Functions[/iurl]
Or You can use Dini : [iurl=http://forum.sa-mp.com/index.php?topic=981.0]http://forum.sa-mp.com/index.php?topic=981.0[/iurl]
Posts: 82
Threads: 22
Joined: Apr 2009
Reputation:
0
LAWL. No Im not fucking retarded. I'm a moderately good scripter, but I've never saved the content, how do I save weapons, drugs, etc. to a .cfg so they have it when they log back in?