SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 12/02/2018, 06:48 PM   #1
RedGun2015
Huge Clucker
 
Join Date: Sep 2015
Posts: 207
Reputation: 0
Default Area 51 - How to open this gate

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

Like this: https://i.imgur.com/quajKAe.jpg
RedGun2015 is offline   Reply With Quote
Old 12/02/2018, 06:59 PM   #2
Mugala
Gangsta
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: behind u
Posts: 530
Reputation: 23
Default Re: Area 51 - How to open this gate

you have to delete default object with RemoveBuildingForPlayer and than, create a new objects instead of this.
http://wiki.sa-mp.com/wiki/RemoveBuildingForPlayer

19312 - Whole fence object ID
19313 - Gate object ID

MoveObject <-- function to move objects (open/close gates)
http://wiki.sa-mp.com/wiki/MoveObject
__________________
here to help
Mugala is offline   Reply With Quote
Old 12/02/2018, 07:08 PM   #3
PepsiCola23
Gangsta
 
Join Date: May 2015
Posts: 548
Reputation: 2
Default Re: Area 51 - How to open this gate

if you simply want to remove the gate you just delete it with
PHP Code:
RemoveBuildingForPlayer 
PepsiCola23 is online now   Reply With Quote
Old 12/02/2018, 07:21 PM   #4
RedGun2015
Huge Clucker
 
Join Date: Sep 2015
Posts: 207
Reputation: 0
Default Re: Area 51 - How to open this gate

Quote:
Originally Posted by Mugala View Post
you have to delete default object with RemoveBuildingForPlayer and than, create a new objects instead of this.
http://wiki.sa-mp.com/wiki/RemoveBuildingForPlayer

19312 - Whole fence object ID
19313 - Gate object ID

MoveObject <-- function to move objects (open/close gates)
http://wiki.sa-mp.com/wiki/MoveObject
Thanks bro!
RedGun2015 is offline   Reply With Quote
Old 12/02/2018, 07:52 PM   #5
Mugala
Gangsta
 
Mugala's Avatar
 
Join Date: Nov 2012
Location: behind u
Posts: 530
Reputation: 23
Default Re: Area 51 - How to open this gate

you're welcome
__________________
here to help
Mugala is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gate that open with /gate for rp server Doros Scripting Help 1 14/12/2013 09:49 PM
/Gate open help BleverCastard Scripting Help 5 06/01/2012 09:15 PM
gate would not open LegendNissanGTR Help Archive 12 15/12/2010 05:19 PM
Open gate Scriptissue Help Archive 7 26/09/2010 02:19 PM
Teams open a gate[have gate script] manunited1878 Help Archive 12 17/02/2010 08:45 PM


All times are GMT. The time now is 11:25 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.