-
Posts
228 -
Joined
-
Last visited
Everything posted by L3yr
-
اسف اخى واحد اخر اهو GUIEditor = { label = {}, button = {}, edit = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(473, 298, 318, 477, "CUA", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.95) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.button[1] = guiCreateButton(69, 390, 185, 67, "Hack", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFFF0000") GUIEditor.edit[1] = guiCreateEdit(73, 58, 172, 32, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(73, 123, 172, 32, "", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(261, 25, 47, 25, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "default-bold-small") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFDEFF00") GUIEditor.button[4] = guiCreateButton(167, 170, 117, 42, "Withdrawa", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF00FF00") GUIEditor.button[5] = guiCreateButton(30, 170, 117, 42, "Deposit", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FF00FF00") GUIEditor.label[1] = guiCreateLabel(95, 255, 137, 93, "A-T-M", false, GUIEditor.window[1]) guiSetAlpha(GUIEditor.label[1], 0.66) guiSetFont(GUIEditor.label[1], "sa-header") guiLabelSetColor(GUIEditor.label[1], 210, 255, 0)
-
شكرا اخى على الرد هذه هوا الازرار GUIEditor = { button = {}, edit = {}, window = {}, checkbox = {}, label = {}, } GUIEditor.window[1] = guiCreateWindow(476, 290, 320, 506, "CUA", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 0.98) guiSetProperty(GUIEditor.window[1], "CaptionColour", "FFFF0000") GUIEditor.button[2] = guiCreateButton(70, 411, 178, 66, "Hack", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[2], "sa-header") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFFF1919") GUIEditor.button[3] = guiCreateButton(272, 22, 38, 27, "Close", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[3], "default-bold-small") guiSetProperty(GUIEditor.button[3], "NormalTextColour", "FFFFFC25") GUIEditor.edit[1] = guiCreateEdit(80, 59, 167, 35, "", false, GUIEditor.window[1]) GUIEditor.edit[2] = guiCreateEdit(80, 132, 167, 35, "", false, GUIEditor.window[1]) GUIEditor.button[4] = guiCreateButton(145, 100, 38, 27, "OK", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[4], "default-bold-small") guiSetProperty(GUIEditor.button[4], "NormalTextColour", "FF13D100") GUIEditor.checkbox[1] = guiCreateCheckBox(295, 179, 15, 15, "", true, false, GUIEditor.window[1]) GUIEditor.checkbox[2] = guiCreateCheckBox(295, 217, 15, 15, "", false, false, GUIEditor.window[1]) GUIEditor.label[1] = guiCreateLabel(226, 178, 64, 18, "Deposit", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") GUIEditor.label[2] = guiCreateLabel(216, 217, 64, 18, "Withdrawal", false, GUIEditor.window[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") GUIEditor.label[3] = guiCreateLabel(29, 172, 135, 50, "A-T-M", false, GUIEditor.window[1]) guiSetAlpha(GUIEditor.label[3], 0.41) guiSetFont(GUIEditor.label[3], "sa-header") GUIEditor.button[5] = guiCreateButton(47, 227, 44, 29, "1", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[5], "default-bold-small") guiSetProperty(GUIEditor.button[5], "NormalTextColour", "FFFFFFFF") GUIEditor.button[6] = guiCreateButton(46, 266, 44, 29, "4", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[6], "default-bold-small") guiSetProperty(GUIEditor.button[6], "NormalTextColour", "FFFFFFFF") GUIEditor.button[7] = guiCreateButton(47, 305, 44, 29, "7", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[7], "default-bold-small") guiSetProperty(GUIEditor.button[7], "NormalTextColour", "FFFFFFFF") GUIEditor.button[9] = guiCreateButton(100, 266, 44, 29, "5", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[9], "default-bold-small") guiSetProperty(GUIEditor.button[9], "NormalTextColour", "FFFFFFFF") GUIEditor.button[10] = guiCreateButton(100, 227, 44, 29, "2", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[10], "default-bold-small") guiSetProperty(GUIEditor.button[10], "NormalTextColour", "FFFFFFFF") GUIEditor.button[11] = guiCreateButton(101, 305, 40, 29, "8", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[11], "default-bold-small") guiSetProperty(GUIEditor.button[11], "NormalTextColour", "FFFFFFFF") GUIEditor.button[12] = guiCreateButton(154, 227, 44, 29, "3", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[12], "default-bold-small") guiSetProperty(GUIEditor.button[12], "NormalTextColour", "FFFFFFFF") GUIEditor.button[13] = guiCreateButton(152, 266, 44, 29, "6", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[13], "default-bold-small") guiSetProperty(GUIEditor.button[13], "NormalTextColour", "FFFFFFFF") GUIEditor.button[14] = guiCreateButton(154, 305, 44, 29, "9", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[14], "default-bold-small") guiSetProperty(GUIEditor.button[14], "NormalTextColour", "FFFFFFFF") GUIEditor.button[15] = guiCreateButton(101, 344, 44, 29, "0", false, GUIEditor.window[1]) guiSetFont(GUIEditor.button[15], "default-bold-small") guiSetProperty(GUIEditor.button[15], "NormalTextColour", "FFFFFFFF") guiSetVisible (GUIEditor.window[1], false)
-
شكرا جدا لذوق حضرتك اخى #BrosS حاضر راح اجربو ولو فيه مشكله مش مهم عادى كفايه انك سويته عشانى اخى :]
-
هذه الرابط فى اللوحه http://imgur.com/a/GrE0h Deposit عوز لما اعلم صح على مربع okواضغط يحط فلوس فى مكنه الصرافه Withdrawa وعوز لما اعلم صح على مربع okواضغط يسحب فلوسو الى شايلهم فى ياريت الكودات الكلنت والسرفر اخى وشكرا
-
اخى #_iMr.[E]coo ديما ردودم بتبقا كامله استمر اخى استمر
-
السلام عليكم شباب انا عامل لوحه وفيها كلمه دى عوز لما اعلم على كلمه المربع الى جنب الكلمه دى Withdrawal okواضغط يسحب فلوس ok عوز لما اعلم على المربع الى جنب الكلمه دى واضغط على مربع Deposit يحط فلوس اللوحه دى لل atm الى هيا مكنه الصرافه الى بيبقا فى الشارع اللوحه اهى ياريت التصحيح 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 --نهاية الوظيفة )--نهاية قوس الحدث function guiAntiFlood(element, timer) if getElementType ( element ) == "gui-button" then local atimer = tonumber(timer) if atimer == nil or atimer == '' or not tonumber(atimer) then error("Bad Argument the Argument 2 must number") else end guiSetEnabled(element,false) setTimer(function() guiSetEnabled(element,true) end,tonumber(atimer),1) else error("Bad Argument 1 the element must button") end end local Button = GUIEditor.button[3] -- بدل اسم الزر local Time = 40000 -- حط هنا الوقت addEventHandler ( "onClientGUIClick",root, function () local playerTeam = getPlayerTeam ( source,"Criminal" ) if ( source == GUIEditor.button[3] ) then triggerServerEvent ( "givePlayerMoney", localPlayer ) guiAntiFlood(GUIEditor.button[3],1000*60*4) else if (source == GUIEditor.button[2]) then guiSetVisible(GUIEditor.window[1],false)--اغلاق اللوحة showCursor(false)--اخفاء الماوس end--نهاية التحقق end--نهاية الوظيفة end )--نهاية قوس الحدث
-
شكرا اخى على الرد الجميل والمنسق اعمل احدثيات على createColRectangle وبعد كده المربع هيتعمل والمربع هيتعمل
-
ما فهمت عليك اخى ممكن استفسار اكتر ازاى اعمل مربع طيب
-
السلام عليكم شباب انا اريد ان ابرمج منطقه الاحتلال بس مش عارف اعملو منين هل من ماب ايديتور ولا منين ولو من ماب ايديتور ..اسمو ايه فى ماب ايديتور ولا شكلو ازاى والباقى انشاء الله هكملو وشكرا
-
السلام عليكم شباب انا عامل تيم عوز كود عشان اول ما اخد التيم بعد ما اضغط انضمام من اللوحه واخد التيم عوزو ياخد اسكين معين للتيم مثل انا عوزو اول ما يخد التيم من اللوحه يتغير اللبس بتاع لل لبس بتاع التيم وشكر
-
السلام عليكم شباب هل هذه صحيح ==دا الكلينت 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--نهاية الوظيفة )--نهاية قوس الحدث == السرفر team = createTeam ("Criminal", 255, 0, 0) function joinCriminalTeam(player) local team = getTeamFromName ("Criminal") if (team) then setPlayerTeam (player,Criminal) setElementModel (player, 230) getTeamColor (player, Criminal) setBlipColor (player, Criminal) setTeamFriendlyFire ( team, true ) end end addCommandHandler("setme",joinCriminalTeam) addEvent("JoinCriminal",true) addEventHandler("JoinCriminal",root, function () if getPlayerTeam(source) and getTeamName(getPlayerTeam(source)) ~= "Criminal" then team = getTeamFromName("Criminal") setPlayerTeam(source,team) end )
-
team = createTeam ("Criminal", 255, 0, 0) function joinCriminalTeam(player) local team = getTeamFromName ("Criminal") if (team) then setPlayerTeam (player,team) setElementModel (player, 230) getTeamColor (player, team) setBlipColor (player, team) setTeamFriendlyFire ( team, true ) end end addCommandHandler("setme",joinCriminalTeam) 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 ) فى ملف سرفر عمل التيم
-
team = createTeam ("Criminal", 255, 0, 0) function joinCriminalTeam(player) local team = getTeamFromName ("Criminal") if (team) then setPlayerTeam (player,team) setElementModel (player, 230) getTeamColor (player, team) setBlipColor (player, team) setTeamFriendlyFire ( team, true ) end end addCommandHandler("setme",joinCriminalTeam) 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 ) مثل هذه
-
احط هذه الكود فى ملف السرفر بتاع التيم ؟؟
