Jump to content

L3yr

Members
  • Posts

    228
  • Joined

  • Last visited

Everything posted by L3yr

  1. هل كده صح بس زر join مش شغال برضو ايه الخطاء local marker = createMarker (2435.1999511719,-2055.8000488281,13.5, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (1623.6999511719,-1508.5,13.60000038147, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (2331.3000488281,9.6000003814697,26.5, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (2097.1000976563,958.79998779297,10.800000190735, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (1993.0999755859,2297.6999511719,10.800000190735, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (1026.8000488281,2373.6999511719,10.800000190735, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (-2081,305.5,35.5, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (-2161.1999511719,657.29998779297,52.400001525879, "cylinder", 1, 0, 0, 0, 0 ) createBlip (2435.1999511719,-2055.8000488281,13.5, 59 ,2 ) createBlip (1623.6999511719,-1508.5,13.60000038147, 59 ,2 ) createBlip (2331.3000488281,9.6000003814697,26.5, 59 ,2 ) createBlip (2097.1000976563,958.79998779297,10.800000190735, 59 ,2 ) createBlip (1993.0999755859,2297.6999511719,10.800000190735, 59 ,2 ) createBlip (1026.8000488281,2373.6999511719,10.800000190735, 59 ,2 ) createBlip (-2081,305.5,35.5, 59 ,2 ) createBlip (-2161.1999511719,657.29998779297,52.400001525879, 59 ,2 ) GUIEditor = { tab = {}, button = {}, window = {}, memo = {}, label = {}, tabpanel = {}, } GUIEditor.window[1] = guiCreateWindow(443, 329, 348, 486, "CUA", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.button[1] = guiCreateButton(36, 427, 119, 38, "Joi N", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(190, 427, 119, 38, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "sa-header") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.label[1] = guiCreateLabel(109, 30, 146, 50, "Criminal", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 195, 69, 60) GUIEditor.tabpanel[1] = guiCreateTabPanel(84, 153, 173, 115, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("Criminal", GUIEditor.tabpanel[1]) GUIEditor.memo[1] = guiCreateMemo(13, 9, 148, 70, "Enjoy in Criminal we are a famlliy in Criminal Job and Take care", false, GUIEditor.tab[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) guiSetVisible (GUIEditor.window[1], false) addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد function()--وظيفة guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة showCursor(true) --نظهر الماوس end --نهاية الوظيفة )--نهاية قوس الحدث addEventHandler("onClientGUIClick",root, --عند الضغط على زر function()--وظيفة if source == GUIEditor.button[1] then triggerServerEvent("JoinCriminal",localPlayer) elseif (source == GUIEditor.button[3]) then--ان كان الزر = زر الاغلاق guiSetVisible(GUIEditor.window[1],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة )--نهاية قوس الحدث
  2. شكرا اخى على الرد
  3. عملتها بس الماركر مش ظاهر عند الشخصه بتاع انضمام للتيم ايه المشكله هنا local marker = createMarker (2435.1999511719,-2055.8000488281,13.5, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (1623.6999511719,-1508.5,13.60000038147, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (2331.3000488281,9.6000003814697,26.5, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (2097.1000976563,958.79998779297,10.800000190735, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (1993.0999755859,2297.6999511719,10.800000190735, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (1026.8000488281,2373.6999511719,10.800000190735, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (-2081,305.5,35.5, "cylinder", 1, 0, 0, 0, 0 ) local marker = createMarker (-2161.1999511719,657.29998779297,52.400001525879, "cylinder", 1, 0, 0, 0, 0 ) createBlip (2435.1999511719,-2055.8000488281,13.5, 59 ,2 ) createBlip (1623.6999511719,-1508.5,13.60000038147, 59 ,2 ) createBlip (2331.3000488281,9.6000003814697,26.5, 59 ,2 ) createBlip (2097.1000976563,958.79998779297,10.800000190735, 59 ,2 ) createBlip (1993.0999755859,2297.6999511719,10.800000190735, 59 ,2 ) createBlip (1026.8000488281,2373.6999511719,10.800000190735, 59 ,2 ) createBlip (-2081,305.5,35.5, 59 ,2 ) createBlip (-2161.1999511719,657.29998779297,52.400001525879, 59 ,2 ) GUIEditor = { tab = {}, button = {}, window = {}, memo = {}, label = {}, tabpanel = {}, } GUIEditor.window[1] = guiCreateWindow(443, 329, 348, 486, "CUA", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.button[1] = guiCreateButton(36, 427, 119, 38, "Joi N", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(190, 427, 119, 38, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "sa-header") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.label[1] = guiCreateLabel(109, 30, 146, 50, "Criminal", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 195, 69, 60) GUIEditor.tabpanel[1] = guiCreateTabPanel(84, 153, 173, 115, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("Criminal", GUIEditor.tabpanel[1]) GUIEditor.memo[1] = guiCreateMemo(13, 9, 148, 70, "Enjoy in Criminal we are a famlliy in Criminal Job and Take care", false, GUIEditor.tab[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) guiSetVisible (GUIEditor.window[1], false) addEventHandler('onClientMarkerHit',marker, function (hitPlayer) if hitPlayer == localPlayer then guiSetVisible(GUIEditor.window[1],true) showCursor(true) end end ) addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[1] then triggerServerEvent("JoinCriminal",localPlayer) elseif source == GUIEditor.button[3] then guiSetVisible(GUIEditor.window[1]),false) showCursor(false) end end )
  4. شكرا حبيبى على المجهود
  5. شكرا حبيبى ما قصرت والله شكرا على الرد يا باشا
  6. السلام عليكم انا عملت اللوحه بس شغلت زر اغلاق لاكن مش عارف اشغل زر انضمام ياريت تصححولى الكود لكى اتعلم منكم GUIEditor = { tab = {}, button = {}, window = {}, memo = {}, label = {}, tabpanel = {}, } GUIEditor.window[1] = guiCreateWindow(443, 329, 348, 486, "CUA", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.button[1] = guiCreateButton(36, 427, 119, 38, "Joi N", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.button[3] = guiCreateButton(190, 427, 119, 38, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "sa-header") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFF0000") GUIEditor.label[1] = guiCreateLabel(109, 30, 146, 50, "Criminal", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 195, 69, 60) GUIEditor.tabpanel[1] = guiCreateTabPanel(84, 153, 173, 115, false, GUIEditor.window[1]) GUIEditor.tab[1] = guiCreateTab("Criminal", GUIEditor.tabpanel[1]) GUIEditor.memo[1] = guiCreateMemo(13, 9, 148, 70, "Enjoy in Criminal we are a famlliy in Criminal Job and Take care", false, GUIEditor.tab[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) guiSetVisible (GUIEditor.window[8], false) addEventHandler("onClientMarkerHit",marker, function() guiSetVisible(GUIEditor.window[8],true) showCursor(true) end ) addEventHandler("onClientGUIClick",root, function() if (source == GUIEditor.button[1]) setplayerTeam(GUIEditor.window[1]) getTeamFromName(Criminal) if (source == GUIEditor.button[3]) then guiSetVisible(GUIEditor.window[1]),false) showCursor(false) end end ) واريد اللوحه ما تفتح بوجهى وتفتح للشخص فقط الى لمس الماركر مش تفتح لكل اللعبين وشكر
  7. شكرا يا باشا
  8. شباب عارف انى اسألتى كتير اليومين دول بس دا لانى بتعلم البرمجه وبحاول اصنع من نفسى join انا عامل لوحه وفيها زر انا عاوز اضغط على الكلمه دى انضم الى تيم الحرامى مثلا وشكرا
  9. هذه من كرم حضرتك
  10. شكرا اخى على الرد بس انا عوزو يظهر لكل الناس اللوحه بتظهر فى شخصيه واحده وانا عوزو يظهر فى الاربع شخصيات الى انا حاطتهم فى المدن :]
  11. ايوه اخى قصدى لكل الى عوز يخش التيم فى شخصيات بتبقا فى كل حتا لو هوز تخش عوز كل الشخصيات تطلع منها لوحه لما واحد يلمسهم عشان يخش
  12. هذه اخى GUIEditor = { memo = {}, button = {}, window = {}, checkbox = {}, label = {}, } GUIEditor.window[1] = guiCreateWindow(506, 329, 325, 469, "CUA", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.89) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.memo[1] = guiCreateMemo(85, 50, 169, 32, "", false, GUIEditor.window[1]) GUIEditor.memo[2] = guiCreateMemo(85, 126, 169, 32, "", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(135, 92, 66, 30, "OK", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "default-bold-small") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFFFFFF") GUIEditor.button[2] = guiCreateButton(273, 24, 43, 26, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF0000") GUIEditor.checkbox[1] = guiCreateCheckBox(285, 171, 15, 15, "", false, false, GUIEditor.window[1]) GUIEditor.checkbox[2] = guiCreateCheckBox(285, 206, 15, 15, "", false, false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(213, 176, 62, 15, "Deposit", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") GUIEditor.label[2] = guiCreateLabel(213, 206, 62, 15, "Withdrawal", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.button[3] = guiCreateButton(235, 324, 60, 57, "Hack", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFEB1101") GUIEditor.button[4] = guiCreateButton(20, 243, 40, 34, "1", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FFFFFFFF") GUIEditor.button[5] = guiCreateButton(20, 301, 40, 34, "4", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFFFFFF") GUIEditor.button[6] = guiCreateButton(20, 357, 40, 34, "7", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFFFFFF") GUIEditor.button[7] = guiCreateButton(85, 243, 40, 34, "2", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFFFFFFF") GUIEditor.button[8] = guiCreateButton(150, 243, 40, 34, "3", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[8], "NormalTextColour", "FFFFFFFF") GUIEditor.button[9] = guiCreateButton(85, 301, 40, 34, "", false, GUIEditor.window[1]) GUIEditor.button[10] = guiCreateButton(85, 301, 40, 34, "5", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[10], "NormalTextColour", "FFFFFFFF") GUIEditor.button[11] = guiCreateButton(85, 357, 40, 34, "8", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[11], "NormalTextColour", "FFFFFFFF") GUIEditor.button[12] = guiCreateButton(150, 301, 40, 34, "6", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[12], "NormalTextColour", "FFFFFFFF") GUIEditor.button[13] = guiCreateButton(150, 357, 40, 34, "9", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[13], "NormalTextColour", "FFFFFFFF") GUIEditor.button[14] = guiCreateButton(80, 414, 51, 38, "0", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[14], "NormalTextColour", "FFFFFFFF") guiSetVisible (GUIEditor.window[1], false) addEventHandler("onClientMarkerHit",marker, --عند لمس الماركر المحدد function()--وظيفة guiSetVisible(GUIEditor.window[1],true)--تفتح اللوحة showCursor(true) --نظهر الماوس end --نهاية الوظيفة )--نهاية قوس الحدث addEventHandler("onClientGUIClick",root, --عند الضغط على زر function()--وظيفة if (source == GUIEditor.button[2]) then--ان كان الزر = زر الاغلاق guiSetVisible(GUIEditor.button[2],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة )--نهاية قوس الحدث هذه اللوحه ب الماركر
  13. السلام عليكم شباب انا عامل لوحه فى 4 شخصيات عشان الى يروح للشهصيات دى يادخل تيم الحرامى دلوقتى اللوحه مش بتفتح غير فى شخصيه واحده وانا عاوز تفتح فى الاربع شخصيات الى فى كل مدينه ارجو تكونو فهمتو قصدى
  14. L3yr

    طلب

    شكرا اخى ما قصرت شكرا على الرد
  15. L3yr

    طلب

    شباب أنا مسوي لوحة وازرار كيف أحط الاوامر على الزر
  16. شكرا اخى ما قصرت شكرا اخى على الرد شكرا اخى على الرد الجميل
  17. السلام عليكم شباب انا عمال لوحه وفيها زر مكتوب هاااك انا عوز كود لما تيم الحرامى يدوس على زى هااك ياخد فلوس مثلا 10 الاف انا عاملو فى البنك الى بيبقا فى الشارع وشكرا
  18. حياك الله اخى
  19. شكرا اخى على الرد
  20. السلام عليكم شباب ايه الخطاء فى هذه الكود function createFaislTeam() team = createTeam ("Criminal", 255, 0, 0) end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), createFaislTeam) function joinCriminalTeam(player) local team = getTeamFromName ("Criminal") if (team) then -- if we found it setPlayerTeam (source,player,team) setElementModel (source,player, 230) getTeamColor (source,player, team) setBlipColor (source,player, team) setTeamFriendlyFire ( theTeam, true ) end end addEventHandler ( "onPlayerDamage", getRootElement (), function ( attacker, weapon, bodypart, loss ) if attacker then setPlayerWantedLevel(attacker,tonumber(getPlayerWantedLevel(attacker)+1)) end end ) end end addCommandHandler("join_Criminal_team", joinCriminalTeam)
  21. السلام عليكم شباب محتاج كود سرقه المطعم مثل يدخل المطعم ويشاور ب المسدس على الراجل الى جوا وياخد فلوس بعد 30 ث مثلا لات بخلون على ب المساعده وشكرا
  22. السلام عليكم شباب اريد ان اعرف ايه المشكله او الخطاء هنا اريد ان انشاء فريق تيم مثل المجرمين مثلا وشكرا function createFaislTeam() team = createTeam ("Criminal", 255, 0, 0) -- create team named Criminal with red color setTeamName ( playerTeam, Criminal ) end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), createCriminalTeam) function joinCriminalTeam(player) local team = getTeamFromName ("Criminal") if (team) then -- if we found it setPlayerTeam (player,Criminalteam) setElementModel (player, 230) outputChatBox ( getPlayerName ( source ) .. " isn't on a team" ) end end addCommandHandler("join_Criminal_team", joinCriminallTeam)
×
×
  • Create New...