Save Repair System - 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: Save Repair System (
/showthread.php?tid=628669)
Save Repair System -
DerickClark - 13.02.2017
afagaga
Re: Save Repair System -
ISmokezU - 13.02.2017
Do you mean saving the created Pickups then Re-Creating them whenever the server starts?
If Yes (Most likely).
Create a Table, ID,PickupID,Float Values. Whenever you "AddARepairPickups();" Add an Insert query to the table Save it. OnGameModeInt/FilterScriptInt Create the Pickup(ID,1,X,Y,Z);
I doubt you understood what i just said.
Re: Save Repair System -
DerickClark - 13.02.2017
Quote:
Originally Posted by ISmokezU
Do you mean saving the created Pickups then Re-Creating them whenever the server starts?
If Yes (Most likely).
Create a Table, ID,PickupID,Float Values. Whenever you "AddARepairPickups();" Add an Insert query to the table Save it. OnGameModeInt/FilterScriptInt Create the Pickup(ID,1,X,Y,Z);
I doubt you understood what i just said.
|
can you give me a code on how u doing it and loading it from there
i want to save their ID, positions