SA-MP Forums Archive
SetPlayerAttachedObject help - 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: SetPlayerAttachedObject help (/showthread.php?tid=580362)



SetPlayerAttachedObject help - NeamPojma - 04.07.2015

Im using objects like hats and glasses and that stuff. I attached objects to player but when he press e.g. /spec and /specoff , attached objects will be deleted. Is there any way saving objects then loading it again (e.g. on player spawn)


Re: SetPlayerAttachedObject help - kyriakos587 - 05.07.2015

You have to save it when he but that attaches, and when someone spec him to remove and after when he /spectoff to load him the attaches


Re: SetPlayerAttachedObject help - NeamPojma - 05.07.2015

Yeah ik,but how i can save and load with enums?