Area 51 - How to open this gate
#1

Hello guys, how can I open this gate https://i.imgur.com/407yx8s.jpg

Like this: https://i.imgur.com/quajKAe.jpg
Reply
#2

you have to delete default object with RemoveBuildingForPlayer and than, create a new objects instead of this.
https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

19312 - Whole fence object ID
19313 - Gate object ID

MoveObject <-- function to move objects (open/close gates)
https://sampwiki.blast.hk/wiki/MoveObject
Reply
#3

if you simply want to remove the gate you just delete it with
PHP код:
RemoveBuildingForPlayer 
Reply
#4

Quote:
Originally Posted by Mugala
Посмотреть сообщение
you have to delete default object with RemoveBuildingForPlayer and than, create a new objects instead of this.
https://sampwiki.blast.hk/wiki/RemoveBuildingForPlayer

19312 - Whole fence object ID
19313 - Gate object ID

MoveObject <-- function to move objects (open/close gates)
https://sampwiki.blast.hk/wiki/MoveObject
Thanks bro!
Reply
#5

you're welcome
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)