[BR]Yahya__ GFX Designer
Posts : 1812 Points : 2134 Reputation : 50 Join date : 2012-08-14 Age : 25 Location : Los Santos In-game username : [BR]Yahya98
| Subject: Save suggestion Mon Jun 10, 2013 4:26 pm | |
| i think we need a save system that saves player stats every 1 minute, because when the server crash, player stats didn't save, and server crash happen like 20 times in a day. it makes my stats didn't grow, because when i play, i dont stop until the server crash :/ (the only thing that make me stop lal) lorenzo also helped me in this suggestion, he gave me a script that would help - Code:
-
forward ServerSave(playerid); public ServerSave(playerid) { SavePlayer(playerid); SendClientMessageToAll(C_GREY,"[SYSTEM]: PlayerData has been saved"); return 1; } and timer thing - Code:
-
SetTimer("ServerSave",SAVE_TIME*1000,true); than 60 seconds is #DEFINED to SAVE_TIME
| |
|
DeeMoh Premium Member
Posts : 647 Points : 789 Reputation : 4 Join date : 2013-03-31 Age : 26 Location : The Netherlands In-game username : DeeMoh
| Subject: Re: Save suggestion Mon Jun 10, 2013 5:40 pm | |
| | |
|
[BR]NWA[JG] Premium Member
Posts : 1224 Points : 1796 Reputation : 103 Join date : 2012-09-21 Age : 27 Location : California In-game username : [BR]NWA[JG]
| Subject: Re: Save suggestion Mon Jun 10, 2013 6:32 pm | |
| | |
|
Sponsored content
| Subject: Re: Save suggestion | |
| |
|