Jump to content

Fraction Gates


Recommended Posts

Hello i will make that this gates only can opened from members of the fraction 9

(It´s from the Godmother Script)

-- In LV

gate11 = createObject ( 975, 2777.140625, 908.86840820313, 11.432487487793, 0, 0, 270 )

gate12 = createObject ( 975, 2777.1591796875, 917.720703125, 11.432487487793, 0, 0, 90 )

function Gate_down (theplayer)

moveObject (gate11, 3500, 2777.1298828125, 900.64880371094, 11.432487487793, 0, 0, 0 )

moveObject (gate12, 3500, 2777.1584472656, 925.73876953125, 11.432487487793, 0, 0, 0 )

outputChatBox ("Das Tor schließt sich nach 10 Sekunden automatisch" ,theplayer)

setTimer ( Gate_Up , 10000,1 )

end

addCommandHandler ("mg", Gate_down)

function Gate_Up (theplayer)

moveObject (gate11, 3500, 2777.140625, 908.86840820313, 11.432487487793, 0, 0, 0 )

moveObject (gate12, 3500, 2777.1591796875, 917.720703125, 11.432487487793, 0, 0, 0 )

end

-- In Sf

gate = createObject ( 8229, -1044.3414306641, -588.05322265625, 33.709041595459, 0 , 0 , 358.5)

function Gate_Down (theplayer)

moveObject (gate, 3000, -1044.3414306641, -588.05322265625, 29.309051513672)

setTimer ( Gate_up , 12000,1)

end

addCommandHandler ("mg", Gate_Down)

function Gate_up (theplayer)

moveObject (gate, 3000, -1044.3414306641, -588.05322265625, 33.709041595459)

end

Please help me!

Sorry for my bad English

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...