Attached object 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: Attached object help (
/showthread.php?tid=381709)
Attached object help -
2KY - 30.09.2012
So, I'm trying to make an attached object system, and currently, I am making an array with coordinates for every skin, but it's taking absolutely forever. (/buyclothes -> change skin -> /attachments -> edit it -> save it; takes about 2-3 minutes per skin, and then I have to tab and code it.)
So, I'm wondering how I would go about coding a system where they had to adjust it themselves using the new 0.3e
EditAttachedObject function. Would I need to create variables for their playerfile like attachedobject_index [ 10 ], attachedobject_modelid [ 10 ], ect and save them under OnPlayerEditAttachedObject? How would I go about doing it? I'm a bit confused, and any help would be greatly appreciated.