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



FS help - newbie scripter - 21.11.2013

Hi guys i was thinking of making a submarine but i dont what veh to put. Can u give me some ideas


Re: FS help - batonsa - 21.11.2013

Actually, the submarine object exists (the one from SF port) and is object ID 1612.

You can also create a script to move it and map an interior for it, just let your imagination fly


Re: FS help - newbie scripter - 21.11.2013

I know about that objetc, i think Object id is 1622. But idk the best way to move it. If i make attach objects, i think the object won't be solid.


Re: FS help - batonsa - 21.11.2013

You can use MoveObject or MoveDynamicObject function to move your submarine, that's up to you to figure out how and where you want it to go. You could create a path for it or a multiple commands for moving it on spot.

And actually, you can attach object to an object with the AttachObjectToObject function - quote from SAMP Wiki:

Quote:

You can use this function to attach objects to other objects. The objects will follow the main object.

And here's the link: https://sampwiki.blast.hk/wiki/AttachObjectToObject


Re: FS help - newbie scripter - 22.11.2013

just a question, is attached object not solid??


Re: FS help - batonsa - 24.11.2013

Could you clarify what you mean by that?


Re: FS help - newbie scripter - 24.11.2013

in samp, some object cant hold things, we can go thorugh them. So, is attached objects like those?


Re: FS help - newbie scripter - 25.11.2013

Help??