[I Need] Script For Area 51 Gate To be open? -
Bmxerlmao5288 - 12.06.2011
[I Need] Script For Area 51 Gate To be open? Does Anyone Have one?
Re: [I Need] Script For Area 51 Gate To be open? -
Forever Alone - 12.06.2011
It cant be opened yet. Its hard-coded in Sa-MP (even might be hard coded in SA)
Re: [I Need] Script For Area 51 Gate To be open? -
Tee - 12.06.2011
I think I know the gate you are referring to, and it cannot be opened.
EDIT: Sorry, you posted first, I did not see it.
Re: [I Need] Script For Area 51 Gate To be open? -
Lorenc_ - 12.06.2011
Use some ramps or stairs to get past it, map it of course.
Re: [I Need] Script For Area 51 Gate To be open? -
Bakr - 12.06.2011
Hey, here are the objects ID and position (two gates, they'll open in opposite directions)
Код:
-- Closed Position
2927 -> 215.941, 1874.571, 13.903
2929 -> 211.842, 1874.571, 13.903
-- Opened Position
2927 -> 219.941, 1874.571, 13.903
2929 -> 207.842, 1874.571, 13.903
-- Credits to Yom for the positions
And it really depends how you would like them to be opened. Here is an example when an administrator types /opengate to open and /closegate to close
pawn Код:
ZCMD:opengate( playerid, params[ ] ) {
if( !IsPlayerAdmin( playerid ) )
return 1;
MoveObject( a51_gate[ 0 ], 219.941, 1874.571, 13.903, 0.5 );
MoveObject( a51_gate[ 1 ], 207.842, 1874.571, 13.903, 0.5 );
return 1;
}
ZCMD:closegate( playerid, params[ ] ) {
if( !IsPlayerAdmin( playerid ) )
return 1;
MoveObject( a51_gate[ 0 ], 215.941, 1874.571, 13.903, 0.5 );
MoveObject( a51_gate[ 1 ], 211.842, 1874.571, 13.903, 0.5 );
return 1;
}
You can, of course, expand on these commands to include other checks, such as if the gate is already open or not. With this, you'll also need to declare the a51_gate variable and create the objects themselves.
pawn Код:
// Above main() function
new a51_gate[ 2 ];
// Under OnGameModeInit( ) or OnFilterScriptInit, depending on your script
a51_gate[ 0 ] = CreateObject( 2927, 215.941, 1874.571, 13.903, 0.00, 0.00, 0.00 );
a51_gate[ 1 ] = CreateObject( 2929, 211.842, 1874.571, 13.903, 0.00, 0.00, 0.00 );
Hope that helps.
EDIT: Sorry, I thought you were referring to adding the gate to the main entrance of the base.
Re: [I Need] Script For Area 51 Gate To be open? -
marwan - 12.06.2011
it can be opened man there is a server called SA-RP its opened there even they opened that red gate under ground and scripted a jail in there
Re: [I Need] Script For Area 51 Gate To be open? -
Bmxerlmao5288 - 12.06.2011
Well i found a script and its a very nice script i guess it has a elevator Gate Lift So Thanks Guys For The Help