SA-MP Forums Archive
I have a question ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: I have a question ! (/showthread.php?tid=360468)



I have a question ! - hulitubolies - 17.07.2012

How to make that server after entering some command auto saves any changes in scriptfile ??
so that server crashes but its still saved all into scriptfiles files.
I have a file with name Mapicons.cfg in ma scriptfiles
And when i stype in /createicon iconid it auto saves it ??
So when server crash my created icon dont save it just disapiers.
Any one know to make that ?? or auto saves on all the cmds ??
when i type any kind of cmd it saves server,scriptfiles
Please help !


Re: I have a question ! - Christopher - 17.07.2012

As far as I can understand you are wanting to be able to save your map icons to a file etc well you should look into SA-MP's file management functions documented here.


Re: I have a question ! - hulitubolies - 17.07.2012

No I have a script what save and load mapicons !
but after server crashes it make's backup what is last server restart.
I have a cmd /saveserver it save's all points,mapicons,families and other things
But i need to add that script what saves server at any cmd i use so i can type in /createpont and it automaticly saves it like /saveserver cmd does how can i do that ??


Re: I have a question ! - hulitubolies - 18.07.2012

Bump+ any ideas ??


Re: I have a question ! - ViniBorn - 18.07.2012

Are you using any file manager?


Re: I have a question ! - hulitubolies - 18.07.2012

No but what does file menager do ??


Re: I have a question ! - ViniBorn - 18.07.2012

Is a way to work with files easily ...

Ex: y_ini , Dini, DOF2


Re: I have a question ! - hulitubolies - 18.07.2012

I have Y_ini hole roleplay script.
Sometimes server crashes and all files load last backup i made :/ thats stupid