Castillo Posted November 25, 2011 Posted November 25, 2011 CapY, using public resources is not called "Steal", many people learns from them.
Charlie_Jefferson Posted November 25, 2011 Posted November 25, 2011 For the backgate thing: local theMarker = createMarker ( -1250.1999511719, 463.89999389648, 9.60000014697, "cylinder", 10, 0, 0, 255, 0 ) subwaygate = createObject (-1250.1999511719, 463.89999389648, 9.60000014697, 0, 0, 0 ) -- Make Marker and Gate function openGate ( hitElement ) if (getElementType(hitElement) == "player" ) then moveObject ( subwaygate , 1500, -1701.7937011719, 689.03674316406, 24.037502288818, 0, 0, 0 ) -- Changed 'gate' to 'subwaygate' end end addEventHandler( "onMarkerHit", theMarker, openGate ) -- Open Gate function closeGate ( leftElement ) if (getElementType(leftElement) == "player" ) then moveObject ( subwaygate, 1500, -1250.1999511719, 463.89999389648, 9.60000014697, 0, 0, 0 ) end end addEventHandler( "onMarkerLeave", theMarker, closeGate ) -- Close Gate And front gate: local theMarker = createMarker ( -1530.3000488281, 482.20001220703, 9.6999998092651, "cylinder", 0, 0, 255, 0) subwaygate = createObject ( subwaygate, -1530.3000488281, 482.20001220703, 9.6999998092651, 0, 0, 255, 0 ) -- Changed 'gate' to 'subwaygate' -- Define Marker and Gate function openGate ( hitElement ) if (getElementType(hitElement) == "player" ) then moveObject ( subwaygate, -1530.3000488281, 482.20001220703, 9.6999998092651, 0, 0, 0, 0 ) end if (getElementType(hitElement) == "vehicle" ) then moveObject ( subwaygate, -1530.3000488281, 482.20001220703, 9.6999998092651, 0, 0, 0, 0 ) end addEventHandler( "onMarkerHit", theMarker, openGate ) -- Open Gate function closeGate ( leftElement ) if (getElementType(leftElement) == "player" ) then moveObject ( subwaygate, -1530.3000488281, 482.20001220703, 9.6999998092651, 0, 0, 0, 0 ) end end addEventHandler( "onMarkerLeave", theMarker, closeGate ) -- Close Gate
CapY Posted November 25, 2011 Posted November 25, 2011 CapY, using public resources is not called "Steal", many people learns from them. OH Really ? https://forum.multitheftauto.com/viewtop ... 8237d7c839 Why then i got screw'd up before few months ?
Castillo Posted November 25, 2011 Posted November 25, 2011 Well, then you can't even talk about it, because you did it too.
CapY Posted November 25, 2011 Posted November 25, 2011 I'm just saying, nobody didn't blame him, but they shouted on me.
Nitride Posted November 25, 2011 Author Posted November 25, 2011 Thanks a lot Charlie_Jefferson, i will test it tomorrow morning
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now