SA-MP Forums Archive
Push 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: Push door.. (/showthread.php?tid=413981)



Push door.. - [swat]dragon - 07.02.2013

I didnt found an appropriate section, so i post here:

This is mostly mapping related, I'm building up a new house, and i wanted to add a "push door", which means the character can push the door and open it, so can enter.

How to do that?

All the doors i add to the map is "static" cannot be moved


Re: Push door.. - Scenario - 07.02.2013

A huge list of objects, but since I don't know the exact ID, I'll refer you here: https://sampwiki.blast.hk/wiki/Model_ID


Re: Push door.. - [swat]dragon - 07.02.2013

As i said before
Quote:

All the doors i add to the map is "static" cannot be moved

even if i add push doors or anything


Re: Push door.. - Scenario - 07.02.2013

There's no special code to make the door movable when you walk into it. As far as I know, there's ONE door object that does this. It's a brown door with a bunch of (what appears to be) screws around the perimeter.


Re: Push door.. - [swat]dragon - 07.02.2013

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
There's no special code to make the door movable when you walk into it. As far as I know, there's ONE door object that does this. It's a brown door with a bunch of (what appears to be) screws around the perimeter.
oh okay, any chance you remember the ID ?


Re: Push door.. - Scenario - 07.02.2013

Quote:
Originally Posted by [swat]dragon
Посмотреть сообщение
any chance you remember the ID ?
That's a negative.

If you look at some of the released maps on the forums here, I'm sure you will be able to find the object ID.


Re: Push door.. - Jstylezzz - 07.02.2013

I couldn't find the brown one(don't have any mapping program a.t.m), but I've remembered this one:
1523 - Cluckin' bell swinging door
It's the door with a round glass at the top.
If I can find/remember the wooden door ID, I will edit my post/post the id

EDIT: found this while looking trough the doors again..
Perhaps it's this one you're looking for?
1502 - classic wood door


Re: Push door.. - [swat]dragon - 07.02.2013

Yeah, thanks both vmuch

I will test it soon, and let you know if worked ^^


Re: Push door.. - Djean - 08.02.2013

In MTA just search for "GenDoors" and some should pop up.


Re: Push door.. - MP2 - 08.02.2013

1491+ swing.