SA-MP Forums Archive
How to move a door/open the LSPD door? - 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: How to move a door/open the LSPD door? (/showthread.php?tid=621834)



How to move a door/open the LSPD door? - EtayJ - 15.11.2016

Like in most RP servers, the LSPD door is opened with a keycard reader that you open by pressing F, then an animation of the player swiping his hand on the reader slot is performed and the door opens, how is it done?


Re: How to move a door/open the LSPD door? - StrikerZ - 16.11.2016

This is done using these functions https://sampwiki.blast.hk/wiki/ApplyAnimation https://sampwiki.blast.hk/wiki/MoveObject Note: for objects its moveobject and for dynamic object it's movedynamicobject


Re: How to move a door/open the LSPD door? - Sew_Sumi - 16.11.2016

Most of this, was done by yoms buttons include, but it's very old, still works, but very old.