AL-SAYED Posted December 5, 2012 Share Posted December 5, 2012 طلب موود شرطة الهجوله aهو ان اذا تضغط حرف يطلع المؤشر اذا تضغط على السيارة تختفي واذا ضغطت على اللاعب سلاب Link to comment
AhmadQTR Posted December 5, 2012 Share Posted December 5, 2012 نسويلك المود مثلا؟ https://community.multitheftauto.com/ Link to comment
AL-SAYED Posted December 5, 2012 Author Share Posted December 5, 2012 لا لا المود موجود في الكونيتي بس انحذف فاي واحد عنده ممكن برفعه لي Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 المود كان ملغم او خربان لان كان يصك صاحب السيرفر سلاب و ناس عشوائي Link to comment
iPrestege Posted December 5, 2012 Share Posted December 5, 2012 المود كان ملغم او خربانلان كان يصك صاحب السيرفر سلاب و ناس عشوائي برمج لك واحد ! آفضل لك وتكون تجربة وتضيع وقتك فيها Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 الكود مو صعب ترا سهل مرة Link to comment
iPrestege Posted December 5, 2012 Share Posted December 5, 2012 الكود مو صعب ترا سهل مرة سلآب و استرجاع الموتر من الاعب سو لك لوحة و جريد ليست وزرين سلآب وسحب وسهله الاكواد Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 لا ي دلخ هو يبي ماوس لما يظغط على الاعب يسويله سلاب و لما سياره يسحبها function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police')then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end addEventHandler('onElementClicked',root,click Link to comment
iPrestege Posted December 5, 2012 Share Posted December 5, 2012 لا ي دلخ هو يبي ماوس لما يظغط على الاعب يسويله سلاب و لما سياره يسحبها function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police')then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end addEventHandler('onElementClicked',root,click استعجلت بالموضوعع وانا اقرا Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 يوه نسيت كود اظهار الماوس show = false bindKey('a','down', function() if(show==false)then showCursor(source,true) else showCursor(source,false) end end) Link to comment
AhmadQTR Posted December 5, 2012 Share Posted December 5, 2012 لا ي دلخ هو يبي ماوس لما يظغط على الاعب يسويله سلاب و لما سياره يسحبها function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police')then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end addEventHandler('onElementClicked',root,click function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police'))then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end addEventHandler('onElementClicked',root,click) Link to comment
AL-SAYED Posted December 5, 2012 Author Share Posted December 5, 2012 شكرا لكم بس شلون اخلي ان يصير بس من الادمن الى الهيد الادمن الا يستخدم المود Link to comment
AL-SAYED Posted December 5, 2012 Author Share Posted December 5, 2012 [2012-12-06 15:56:39] WARNING: 1212\client.lua:13: Bad argument @ 'bindKey' Link to comment
./BlackBird# Posted December 5, 2012 Share Posted December 5, 2012 show = false bindKey(source,'a','down', function() if(show==false)then showCursor(source,true) else showCursor(source,false) end end) سيرفر الكود كله Link to comment
iPrestege Posted December 5, 2012 Share Posted December 5, 2012 شكرا لكمبس شلون اخلي ان يصير بس من الادمن الى الهيد الادمن الا يستخدم المود isObjectInACLGroup getPlayerAccount Link to comment
|Mr|-Talal07-| Posted December 6, 2012 Share Posted December 6, 2012 (edited) ترا سويته لاني طفشان addEventHandler("onElementClicked",root, function (_,_,player) if ( getElementData(player,"Can") == true ) then if ( getElementType(source) == "player" ) then killPed(source,player) elseif ( getElementType(source) == "vehicle" ) then destroyElement(source) end end end ) function cursor(player) if isCursorShowing(player) then showCursor(player,false) else showCursor(player,true) end end addEventHandler("onPlayerLogin",root, function (_,acc) if isObjectInACLGroup("user." .. getAccountName(acc),aclGetGroup("Police")) then setElementData(source,"Can",true) bindKey(source,"a","down",cursor) end end ) لازم يكون في قروب الشرطة Edited December 10, 2012 by Guest Link to comment
AL-SAYED Posted December 6, 2012 Author Share Posted December 6, 2012 ترا سويته لاني طفشان addEventHandler("onElementClicked",root, function (_,_,player) if ( getElementData(player,"Can") == true ) then if ( getElementType(source) == "player" ) then killPed(source,player) elseif ( getElementType(source) == "vehicle" ) then destroyElement(source) end end end ) function cursor(player) if isCursorShowing(player) then showCursor(false) else showCursor(true) end end addEventHandler("onPlayerLogin",root, function (_,acc) if isObjectInACLGroup("user." .. getAccountName(acc),aclGetGroup("Police")) then setElementData(source,"Can",true) bindKey(source,"a","down",cursor) end end ) لازم يكون في قروب الشرطة شكرا ما يشتغل! Link to comment
AL-SAYED Posted December 6, 2012 Author Share Posted December 6, 2012 [2012-12-06 15:56:39] WARNING: 1212\server.lua:13: Bad argument @ 'bindKey' يوه نسيت كود اظهار الماوس show = false bindKey('a','down', function() if(show==false)then showCursor(source,true) else showCursor(source,false) end end) Link to comment
AhmadQTR Posted December 6, 2012 Share Posted December 6, 2012 [2012-12-06 15:56:39] WARNING: 1212\server.lua:13: Bad argument @ 'bindKey'يوه نسيت كود اظهار الماوس show = false bindKey('a','down', function() if(show==false)then showCursor(source,true) else showCursor(source,false) end end) show = false bindKey("a","down", function() if(show==false)then showCursor(source,true) else showCursor(source,false) end end) Link to comment
AhmadQTR Posted December 6, 2012 Share Posted December 6, 2012 نفس الخطأ هو يقول في سطر 13 حط الكود كامل Link to comment
AL-SAYED Posted December 6, 2012 Author Share Posted December 6, 2012 function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police'))then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end addEventHandler('onElementClicked',root,click) show = false bindKey("a","down", function() if(show==false)then showCursor(source,true) else showCursor(source,false) end end) سطر 12 Link to comment
./BlackBird# Posted December 6, 2012 Share Posted December 6, 2012 function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police'))then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end function cursor(player) if isCursorShowing(player) then showCursor(false) else showCursor(true) end end bindKey(source,'a','down',cursor) Link to comment
AL-SAYED Posted December 6, 2012 Author Share Posted December 6, 2012 function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police'))then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end function cursor(player) if isCursorShowing(player) then showCursor(false) else showCursor(true) end end bindKey(source,'a','down',cursor) نفس الخطأ سطر 16 Link to comment
./BlackBird# Posted December 6, 2012 Share Posted December 6, 2012 function click(m,s,p) if(getPlayerTeam(p)==getTeamFromName('Police'))then if(m=='right')then if(getElementType(source)=='vehicle')then destroyElement(source) return end if(getElementType(source)=='player')then setElementHealth(source,0) return end end end end function cursor(player) if isCursorShowing(player) then showCursor(false) else showCursor(true) end end bindKey(source,'a','down',cursor) نفس الخطأ سطر 16 تاكد انه سيرفر 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