Few Simple Codes! - 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: Few Simple Codes! (
/showthread.php?tid=409530)
Few Simple Codes! -
OG Killo - 21.01.2013
Alright I have downloaded this and I have used it.
http://pastebin.com/9WGA2kNS
When the server reboots, The objects dissaper.
Any way you could edit the system so it saves and when the server reboots the objects still appear to be there.
I'm a basic scripter I'm still learning if you could please write the code and I'll investage it!
Thank you very much!
Re: Few Simple Codes! -
Lynn - 21.01.2013
That's not the entire script.
It's missing the saving and loading functions.
Re-download the script, and look for the functions.
Re: Few Simple Codes! -
OG Killo - 21.01.2013
Quote:
Originally Posted by Lynn
That's not the entire script.
It's missing the saving and loading functions.
Re-download the script, and look for the functions.
|
Thats the thing... I mean can you write it for me? Because this is what I downloaded
https://sampforum.blast.hk/showthread.php?tid=346371
v2 - It dosen't have what you just said 'Saving and loading functions' I beg you if you could create it for me.
I tried to look into the v1 and I tried to use it and when I did it seemed not to work..
I'd be really glad if you can help!
Re: Few Simple Codes! -
Lynn - 21.01.2013
Goto script files, do you see a file called;
DObjects.txt ?
Re: Few Simple Codes! -
OG Killo - 21.01.2013
Quote:
Originally Posted by Lynn
Goto script files, do you see a file called;
DObjects.txt ?
|
Yes, and there are the objects that have been created IG.
example:
263.444305 1243.471679 1083.307373 0.000000 0.000000 -3.000006 6015 9 1723
If you mind please come in skype I'd be easier for us both.
Re: Few Simple Codes! -
Lynn - 21.01.2013
The code looks fine, it does have the loading + Saving functions( I over looked them. )
Not sure what the problem is.