sonnyblack25 Posted August 6, 2016 Share Posted August 6, 2016 السلام عليكم شباب انا معي كود البوابه بس ما اعرف اركبها وارجو المساعده local Object = createObject ( ID, x, y, z, rx, ry, rz ) local Marker = createMarker ( x, y, z, "cylinder", size, 0, 0, 0, 0 ) function OpenObject ( player ) if ( isElementWithinMarker ( player, Marker ) ) then moveObject ( Object, 1500, moveX, moveY, moveZ ) else moveObject ( Object, 1500, x, y, z ) end end end end addEventHandler ( "onResourceStart", resourceRoot, function ( ) for _, v in ipairs ( getElementsByType ( "player" ) ) do bindKey ( v, "tab", "down", OpenObject ) end end ) addEventHandler ( "onPlayerJoin", root, function ( ) bindKey ( source, "tab", "down", OpenObject ) end ) Link to comment
^iiEcoo'x_) Posted August 6, 2016 Share Posted August 6, 2016 اذأ ما تعرف تركبها كيف سويتها ؟! Link to comment
sonnyblack25 Posted August 6, 2016 Author Share Posted August 6, 2016 انا جبت الكود من واحد صاحبي اذا تبي تساعدني اهلا وسهلا ما تبي لا تسولف معي لاهنت ^^ Link to comment
shwaeki Posted August 6, 2016 Share Posted August 6, 2016 كمل على موضوعك https://forum.multitheftauto.com/viewtopic.php?f=160&t=101912 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