SA-MP Forums Archive
Saving 'AddStaticPickup's' to a file? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Saving 'AddStaticPickup's' to a file? (/showthread.php?tid=124577)



Saving 'AddStaticPickup's' to a file? - NewYorkRP - 31.01.2010

I need to learn how to make it so, if a player types a command...

He adds a line into a file.. called: pickups.cfg (inside scriptfiles)

It should be like:

AddStaticPickup(id, pos, w/e else it does.)
Then, it keeps doing it and adds new lines when someone else does the command.


All i need is..

A tutorial on how to make something like this?

( Typing a command, and saving an Pickup to the file. (How to get the Co-Ords,Pos,ETC.)


Re: Saving 'AddStaticPickup's' to a file? - Norn - 31.01.2010

Just do it like any other saving system.


Re: Saving 'AddStaticPickup's' to a file? - NewYorkRP - 31.01.2010

Yeah, i just looked, and really i have no clue on how to start it.