Adham Posted July 18, 2016 Share Posted July 18, 2016 سلام عليكم اليوم , سويت مود بنك وابي المركر مخفي سويته كدا م عمل local markerExit = createMarker (390,174,1009, "arrow", 1.0, 0, 0, 0, 0 ) Link to comment
Adham Posted July 18, 2016 Author Share Posted July 18, 2016 حطيتها setElementAlpha (markerExit,0 ) م ظبت Link to comment
Ahmed Ly Posted July 18, 2016 Share Posted July 18, 2016 يشتغل و هدا مجرد مثل local markerExit = createMarker (390,174,1009, "arrow", 1.0, 0, 0, 0, 0 ) setElementAlpha (markerExit,0 ) addEventHandler("onMarkerHit",markerExit, function () outputChatBox("--") end ) --سيرفر Link to comment
Adham Posted July 18, 2016 Author Share Posted July 18, 2016 م ظبت local markerExit = createMarker (390,174,1009, "arrow", 1.0, 0, 0, 0, 0 ) setElementAlpha (markerExit,0 ) setElementInterior (markerExit, 3 ) addEventHandler ( "onMarkerHit",markerExit ,function (hitPlayer) if (getElementType(hitPlayer) == 'player' ) then if ( getPlayerTeam (hitPlayer) ) == getTeamFromName ( "Police LS" ) then setElementPosition (hitPlayer,1483,-1767,19) -- Posicion del jugador donde aparecere cuando toque el marcador. setElementInterior ( hitPlayer, 0 ) -- Interior donde aparecera el jugador. setElementRotation ( hitPlayer, 0, 0, 0 ) --Rotacion del jugador ( donde aparecera ) end end end) Link to comment
ErHaBe Posted July 18, 2016 Share Posted July 18, 2016 local markerExit = createMarker (390,174,1009, "arrow", 1.0, 0, 0, 0, 0 ) destroyElement ( markerExit ) setElementInterior (markerExit, 3 ) addEventHandler ( "onMarkerHit",markerExit ,function (hitPlayer) if (getElementType(hitPlayer) == 'player' ) then if ( getPlayerTeam (hitPlayer) ) == getTeamFromName ( "Police LS" ) then setElementPosition (hitPlayer,1483,-1767,19) setElementInterior ( hitPlayer, 0 ) setElementRotation ( hitPlayer, 0, 0, 0 ) end end end) Link to comment
^iiEcoo'x_) Posted July 18, 2016 Share Posted July 18, 2016 انت تبي تخفي الوان الماركر ولا تخفي الماركر كله ؟ Link to comment
Me[Z]oO Posted July 18, 2016 Share Posted July 18, 2016 + بخصوص صاحب الموضوع وش يطلع لك بالدي بوق ؟ Link to comment
Kara Posted July 19, 2016 Share Posted July 19, 2016 local markerExit = createMarker (390,174,1009, "cylinder", 2, 57, 0, 158, 90 ) setElementInterior (markerExit, 1) Link to comment
Jupi Posted July 19, 2016 Share Posted July 19, 2016 بلنسبة لصاحب الموضوع الكود تمام فيه شيء غلط عندك Link to comment
ErHaBe Posted July 19, 2016 Share Posted July 19, 2016 هات ملف الميتا وحاطط الكود سيرفر ولا كلينت ؟ Link to comment
Jupi Posted July 19, 2016 Share Posted July 19, 2016 هات ملف الميتاوحاطط الكود سيرفر ولا كلينت ؟ يا طفلي العزيز الساينتكس حق الكلاينت و السيرفر هو هو الا اخر ارقمنت اللي هو VisibleTo ومانه مستعمله يعني ردك ذا ماله اي فائدة Link to comment
ErHaBe Posted July 19, 2016 Share Posted July 19, 2016 هات ملف الميتاوحاطط الكود سيرفر ولا كلينت ؟ يا طفلي العزيز الساينتكس حق الكلاينت و السيرفر هو هو الا اخر ارقمنت اللي هو VisibleTo ومانه مستعمله يعني ردك ذا ماله اي فائدة يا حبيبي الميتا مرات يكون فيه مشكله خليه يورينا Link to comment
a7zan Posted July 19, 2016 Share Posted July 19, 2016 في اخر ارقمنت الي وهو الشفافية حاطه 0 كيف ترجع تحط الشفافية مره ثانية 0 Link to comment
#STZ Posted July 19, 2016 Share Posted July 19, 2016 من الاخر تبي تسوي مثل طاره عناد مسوي ماركر arrow و منزله تحت اعتقد ذا قصدك Link to comment
^iiEcoo'x_) Posted July 19, 2016 Share Posted July 19, 2016 لا الماركر مخفي مب منزله لتحت يبي يسوي مثل ماركر الديربي Link to comment
Adham Posted July 19, 2016 Author Share Posted July 19, 2016 -_-" كلشي طاره انا عامل ماركر شي خاص بي وابيه مخفي بس خلأص ؟.. Link to comment
Ahmed Ly Posted July 19, 2016 Share Posted July 19, 2016 (edited) -- Edited July 19, 2016 by Guest Link to comment
Ahmed Ly Posted July 19, 2016 Share Posted July 19, 2016 (edited) او جرب هدا function isPlayerInTeam(player, team) assert(isElement(player) and getElementType(player) == "player", "Bad argument 1 @ isPlayerInTeam [player expected, got " .. tostring(player) .. "]") assert((not team) or type(team) == "string" or (isElement(team) and getElementType(team) == "team"), "Bad argument 2 @ isPlayerInTeam [nil/string/team expected, got " .. tostring(team) .. "]") return getPlayerTeam(player) == (type(team) == "string" and getTeamFromName(team) or (type(team) == "userdata" and team or (getPlayerTeam(player) or true))) end local w = createMarker (1482.26880,-1772.30725,18.79576, "arrow",1) setElementDimension(w,1) addEventHandler ( "onMarkerHit",w,function (hitPlayer) if getElementType(hitPlayer) == 'player' then if isPlayerInTeam(hitPlayer,"Police LS") then setElementPosition (hitPlayer,1483,-1767,19) -- Posicion del jugador donde aparecere cuando toque el marcador. else outputChatBox("انت ليس من هدا التيم",hitPlayer,0,255,0) end end end ) Edited July 19, 2016 by Guest Link to comment
Kara Posted July 19, 2016 Share Posted July 19, 2016 -_-"كلشي طاره انا عامل ماركر شي خاص بي وابيه مخفي بس خلأص ؟.. كودي شغال جرب ولا تتعب راصك Link to comment
a7zan Posted July 19, 2016 Share Posted July 19, 2016 في اخر ارقمنت الي وهو الشفافية حاطه 0 كيف ترجع تحط الشفافية مره ثانية 0 Link to comment
#DRAGON!FIRE Posted July 20, 2016 Share Posted July 20, 2016 كيف ما ضبط وانت الالفا بسطر انشاء الماركر حاطه 0 اصلأ ! ؟ 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