Randomnob Posted August 26, 2013 Share Posted August 26, 2013 imaked 3 codes but the codes for puplics :@ iwant to make them for groups cuz ineed the codes for gangwars server so if any one can edit the codes to group itried this getElementData ( player , "Group" ) == groupName then but isnt no working the markers still for puplic my codes change interior code ----ماركر الدخول للبيت local mr1 = createMarker ( x, y, z, "arrow", 1, 255, 0, 0, 255 ) -- الماركر function msh1(player) -- الوظيفة if getElementType(player)=="player" then -- التحقق من دخول الماركر setElementInterior(player, theinterior ,x, y, z ) -- نقل اللاعب للبيت end -- اغلاق end -- اغلاق addEventHandler("onMarkerHit", mr1, msh1) -- الحدث ----ماركر الخروج من البيت local mr11 = createMarker( x, y, z,"arrow",1.5, 150, 0, 0 ) -- الماركر setElementInterior( mr11, theinterior ) -- تحديد العالم الوهمي addEventHandler ("onMarkerHit",mr11, -- الحدث function ( player ) --الوظيفة if ( getElementType ( player ) == ( "player" ) ) then -- التحقق من اللاعب setElementPosition ( player , x ,y , z ) -- نقل اللاعب setElementInterior( player, 0) -- نقل اللاعب للعالم الوهمي end -- اغلاق end -- اغلاق ) armor and health code ----ماركر الدخول للبيت local mr1 = createMarker ( x, y, z, "cylinder", 1, 255, 0, 0, 255 ) -- الماركر function msh1(player) -- الوظيفة if getElementType(player)=="player" then -- التحقق من دخول الماركر setElementHealth ( player, 100 ) -- اعطاء دم setPlayerArmor ( player, 100 ) -- اعطاء درع end -- اغلاق end -- اغلاق addEventHandler("onMarkerHit", mr1, msh1) -- الحدث acode who make u have an apility to kill you group members local mr11 = createMarker( x, y, z,"arrow",1.5, 150, 0, 0 ) -- الماركر addEventHandler ("onMarkerHit",mr11, -- الحدث function ( player ) --الوظيفة if ( getElementType ( player ) == ( "player" ) ) then -- التحقق من اللاعب setElementPosition ( player , x ,y , z ) -- نقل اللاعب end -- اغلاق end -- اغلاق ) iknow this is hard but iam a beginner :@ Link to comment
iPrestege Posted August 26, 2013 Share Posted August 26, 2013 Arabic lol? please post in the arabic section . Link to comment
Randomnob Posted August 26, 2013 Author Share Posted August 26, 2013 :@ not every thing in arab and wlcm prestege look on the arabic topic please u r prooo 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