Castillo Posted November 25, 2011 Share Posted November 25, 2011 CapY, using public resources is not called "Steal", many people learns from them. Link to comment
Charlie_Jefferson Posted November 25, 2011 Share 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 Link to comment
CapY Posted November 25, 2011 Share 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 ? Link to comment
Castillo Posted November 25, 2011 Share Posted November 25, 2011 Well, then you can't even talk about it, because you did it too. Link to comment
CapY Posted November 25, 2011 Share Posted November 25, 2011 I'm just saying, nobody didn't blame him, but they shouted on me. Link to comment
Nitride Posted November 25, 2011 Author Share Posted November 25, 2011 Thanks a lot Charlie_Jefferson, i will test it tomorrow morning Link to comment
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