Jump to content

saef

Members
  • Posts

    97
  • Joined

  • Last visited

Everything posted by saef

  1. saef

    مشكله

    والله مو من مود يزن وش تبي غير كذا
  2. saef

    مشكله

    زارفها من مود يزن خخخ مود يزن مشفر ي الاخوو
  3. saef

    مشكله

    اصل مودات الشخصيات كله مشفره ولا اعرف افك تشفير
  4. saef

    مشكله

    \\السيرفر اذا تقدر تسويه لي ي الغالي
  5. saef

    مشكله

    انا ابي ملف سيرفر ض1
  6. saef

    مشكله

    GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } GUIEditor.window[1] = guiCreateWindow (211, 187, 379, 227, "لوحة حفظ الشخصيه", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible(GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(9, 82, 360, 47, "حفظ ملابس شخصية cj", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(9, 142, 360, 47, "استرجاع ملابس cj", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") guiSetAlpha(GUIEditor.staticimage[1], 0.50) guiSetAlpha(GUIEditor.button[1], 1.00) guiSetAlpha(GUIEditor.button[2], 1.00) guiSetVisible(GUIEditor.window[1], false) GUIEditor.label[2] = guiCreateLabel(9, 192, 337, 25, "لحفظ ملابس cj يجب اولا اختيار شخصية cj واختيار جميع ملابس", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 245, 9, 159) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.label[3] = guiCreateLabel(4, 23, 370, 52, مرحبا بكم في لوحة حفظ الشخصيه) guiSetFont(GUIEditor.label[3], "sa-header") guiLabelSetColor(GUIEditor.label[3], 15, 235, 238) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") GUIEditor.button[5] = guiCreateButton(346, 191, 24, 26, "✖", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "76F60000") addCommandHandler('cj', function () guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) guiMoveRightToCenter(GUIEditor.window[1]) end) addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[5] then -- هنا يتحققق بأن الشيء اللي نبيه يشتغل عليه الحدث هو الزر حق الاغلاق guiSetVisible(GUIEditor.window[1],false) showCursor(false) -- هنا يغلق اللوحة ويشيل المؤشر بعد مايتحقق من الشرط end -- نهاية end -- .. ) -- اقفال الحدث addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent ( "sa", localPlayer ) end end) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[2] ) then triggerServerEvent ( "lo", localPlayer ) end end) TimeGuiSetRightC = { } function guiMoveRightToCenter(gui) if getElementData(gui,"HelhGui") == false then setElementData(gui,"HelhGui",true) local s1,s2=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (s1-w1)/2,(s2-w2)/2 guiSetPosition(gui,-x,y,false) TimeGuiSetRightC[gui] = setTimer(guiMoveRightToCenter,50,0,gui) end local a,b=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (a-w1)/2,(b-w2)/2 local x1,y1 = guiGetPosition ( gui, false) if (x1 >= x) then killTimer(TimeGuiSetRightC[gui]) setElementData(gui,"HelhGui",false) else guiSetPosition(gui,x1+20,y,false) end end هذا الي كتبته ب اف8 و جاني ERROR: seva-cj\Client.lua:9: attempt to call global 'guiCreateWindow' (a nil value) بالله عليكم ابي ملف سيرفر لاهنتو
  7. saef

    مشكله

    GUIEditor = { button = {}, window = {}, staticimage = {}, label = {} } GUIEditor.window[1] = guiCreateWindow (211, 187, 379, 227, "لوحة حفظ الشخصيه", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible(GUIEditor.window[1],false) GUIEditor.button[1] = guiCreateButton(9, 82, 360, 47, "حفظ ملابس شخصية cj", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FFAAAAAA") GUIEditor.button[2] = guiCreateButton(9, 142, 360, 47, "استرجاع ملابس cj", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FFAAAAAA") guiSetAlpha(GUIEditor.staticimage[1], 0.50) guiSetAlpha(GUIEditor.button[1], 1.00) guiSetAlpha(GUIEditor.button[2], 1.00) guiSetVisible(GUIEditor.window[1], false) GUIEditor.label[2] = guiCreateLabel(9, 192, 337, 25, "لحفظ ملابس cj يجب اولا اختيار شخصية cj واختيار جميع ملابس", false, GUIEditor.window[1]) guiLabelSetColor(GUIEditor.label[2], 245, 9, 159) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.label[3] = guiCreateLabel(4, 23, 370, 52, مرحبا بكم في لوحة حفظ الشخصيه) guiSetFont(GUIEditor.label[3], "sa-header") guiLabelSetColor(GUIEditor.label[3], 15, 235, 238) guiLabelSetHorizontalAlign(GUIEditor.label[3], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[3], "center") GUIEditor.button[5] = guiCreateButton(346, 191, 24, 26, "✖", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[5], "NormalTextColour", "76F60000") addCommandHandler('cj', function () guiSetVisible(GUIEditor.window[1],not guiGetVisible(GUIEditor.window[1])) showCursor(guiGetVisible(GUIEditor.window[1])) guiMoveRightToCenter(GUIEditor.window[1]) end) addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[5] then -- هنا يتحققق بأن الشيء اللي نبيه يشتغل عليه الحدث هو الزر حق الاغلاق guiSetVisible(GUIEditor.window[1],false) showCursor(false) -- هنا يغلق اللوحة ويشيل المؤشر بعد مايتحقق من الشرط end -- نهاية end -- .. ) -- اقفال الحدث addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[1] ) then triggerServerEvent ( "sa", localPlayer ) end end) addEventHandler ( "onClientGUIClick", root, function ( ) if ( source == GUIEditor.button[2] ) then triggerServerEvent ( "lo", localPlayer ) end end) TimeGuiSetRightC = { } function guiMoveRightToCenter(gui) if getElementData(gui,"HelhGui") == false then setElementData(gui,"HelhGui",true) local s1,s2=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (s1-w1)/2,(s2-w2)/2 guiSetPosition(gui,-x,y,false) TimeGuiSetRightC[gui] = setTimer(guiMoveRightToCenter,50,0,gui) end local a,b=guiGetScreenSize() local w1,w2=guiGetSize(gui,false) local x,y = (a-w1)/2,(b-w2)/2 local x1,y1 = guiGetPosition ( gui, false) if (x1 >= x) then killTimer(TimeGuiSetRightC[gui]) setElementData(gui,"HelhGui",false) else guiSetPosition(gui,x1+20,y,false) end end هذا الي كتبته ب اف8 و جاني ERROR: seva-cj\Client.lua:9: attempt to call global 'guiCreateWindow' (a nil value) ارجو حل المشكله ي عيال
  8. يب هي صوره ولا دي اكس طيب انتم اشان قلت دي اكس خلاص قللنا صوره اللي يبي يساعدين اشكره والي مو مساعدني كمان بشكره
  9. اانا حاط بوتن مخفي و فوقه الدي اكس
  10. اها مشكور اخي خالد على الرد انا حسبت الاصفار هي الحجم ^(^ مشكور م قصرت موفق ي رب انت و برستيج و كل العيال
  11. size = حجم الماركر برستيج انا جربت طلعsize الوان مو حجم جربته غيرت فيه مو راضيه تكبر بس يتغير لوهه وش الوضع
  12. شوف وش جاني الصوره تحت http://cdn.top4top.co/i_e21bb586011.png ' alt='>'> رابط الصوره كامله
  13. شوف وش جاني الصوره تحت
  14. ي عيال انا صممت مود الانتقلات دي اكس و سويت الوحه + حطيت جريد لست + و حطيت بوتن مخفي و فوقه دي اكس + شغلته م اشتغل كلنت Please Select = { {"ساحة القتال الاول",273.73892211914, 1990.8371582031, 17.640625 }, {"ساحة القتال الثاني",1611.3591308594, 754.52416992188, 10.87656211853 }, {"حرب السكاكين",-415.7585144043, -634.93737792969, 11.637937545776 }, {"الستراحه",-724.26849365234, 971.14849853516, 12.31086063385 }, {"محل بيع الاسلحه",1348.0174560547, -1279.7244873047, 13.3828125 }, {"البنك الرئيسي",1480.1080322266, -1738.6528320313, 13.546875 }, {"النخيل",2121.5476074219, 1390.9613037109, 10.812517166138 }, {"الدائري",1686.3471679688, 1396.9626464844, 10.74236869812 }, {"الفندق",-1755.3333740234, 949.79974365234, 24.7421875 }, {"مهمة سرقة البنك",591.33178710938, -1238.0036621094, 17.89847946167 }, {"ساحة التفجير",-2087.2016601563, -125.29878234863, 35.327392578125 }, {"ساحة الدرفت",1002.9132080078, -2323.3430175781, 13.095125198364 }, {"ساحة الرفع",2849.1574707031, -1754.2189941406, 11.046875 }, {"المجمع السكني1",2602.2561035156, 1779.1556396484, 10.8203125 }, {"المجمع السكني2",-1687.9128417969, 1356.2553710938, 7.1721897125244 }, {"الـغـروب",635.01287841797, 1696.4790039063, 6.9921875 }, {"الـمـطـآر الاول",-1022.7536621094, 471.78393554688, 14.346378326416 }, {"الـمـطـآر الـثـآني",1470.1495361328, 1172.9645996094, 13.132493019104 }, {"الـمـطـآر الـثـآلـث",-1367.5183105469, -90.866271972656, 14.1484375 }, } --[[------------------------------------------------- Notes: > This code is using a relative image filepath. This will only work as long as the location it is from always exists, and the resource it is part of is running. To ensure it does not break, it is highly encouraged to move images into your local resource and reference them there. --]]------------------------------------------------- GUIEditor = { gridlist = {}, staticimage = {}, button = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.button[1] = guiCreateButton(649, 613, 120, 33, "", false) guiSetAlpha(GUIEditor.button[1], 0.00) GUIEditor.label[1] = guiCreateLabel(687, 617, 159, 40, "انتقل", false) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 249, 230, 13) GUIEditor.staticimage[1] = guiCreateStaticImage(515, 151, 417, 462, "dot_white.png", false) guiSetProperty(GUIEditor.staticimage[1], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") GUIEditor.gridlist[1] = guiCreateGridList((417 - 402) / 2, (462 - 425) / 2, 402, 425, false, GUIEditor.staticimage[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Please Select", 0.9) GUIEditor.staticimage[2] = guiCreateStaticImage(514, 118, 418, 33, ":gggg/images/dot_white.png", false) guiSetProperty(GUIEditor.staticimage[2], "ImageColours", "tl:FEDFF303 tr:FEDFF303 bl:FEDFF303 br:FEDFF303") GUIEditor.label[2] = guiCreateLabel(75, 0, 250, 33, "Mr.sA~~eF~~", false, GUIEditor.staticimage[2]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 167, 0, 0) guiLabelSetHorizontalAlign(GUIEditor.label[2], "center", false) guiLabelSetVerticalAlign(GUIEditor.label[2], "center") GUIEditor.staticimage[3] = guiCreateStaticImage(514, 613, 418, 33, "dot_white.png", false) guiSetProperty(GUIEditor.staticimage[3], "ImageColours", "tl:FEE7E6E7 tr:FEE7E6E7 bl:FEE7E6E7 br:FEE7E6E7") GUIEditor.label[3] = guiCreateLabel(49, -490, 306, 23, "SeRveR", false, GUIEditor.staticimage[3]) guiSetFont(GUIEditor.label[3], "default-bold-small") guiLabelSetColor(GUIEditor.label[3], 167, 0, 0) GUIEditor.staticimage[4] = guiCreateStaticImage(482, -98, 128, 54, "dot_white.png", false, GUIEditor.staticimage[3]) GUIEditor.staticimage[5] = guiCreateStaticImage(649, 617, 117, 25, "dot_white.png", false) guiSetProperty(GUIEditor.staticimage[5], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") GUIEditor.button[2] = guiCreateButton(-244, -8, 16, 19, "", false, GUIEditor.staticimage[5]) GUIEditor.staticimage[6] = guiCreateStaticImage(630, 601, 162, 41, "dot_white.png", false) guiSetProperty(GUIEditor.staticimage[6], "ImageColours", "tl:FEDD0000 tr:FEDD0000 bl:FEDD0000 br:FEDD0000") end ) for i,mk in ipairs(Please Select) do local row = guiGridListAddRow(GUIEditor.gridlist[1]) guiGridListSetItemText(GUIEditor.gridlist[1],row,1,mk[1],false,false) guiGridListSetItemData(GUIEditor.gridlist[1],row,1,{mk[2],mk[3],mk[4]}) guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) end addEventHandler("onClientGUIClick",root, function () local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if source == GUIEditor.button[1] then if sel ~= -1 then local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) setElementPosition(localPlayer,x,y,z) else outputChatBox("* Please Select A Positon",255,0,0) end end end ) addEvent("onClientGUIClick",true) addEventHandler("onClientGUIClick",root, function () local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) if source == GUIEditor.button[1] then if sel ~= -1 then local x,y,z = unpack(guiGridListGetItemData(GUIEditor.gridlist[1],sel,1)) setElementPosition(localPlayer,x,y,z) guiSetVisible (GUIEditor.staticimage[1], false ) showCursor(false) guiSetInputEnabled(false) else outputChatBox("* You Must Select Place First | يجب تحديد ألمكان اولآ",255,100,100,true) end end end ) GUIEditor.staticimage[1] = false addEventHandler('onClientRender',root, function ( ) if ( GUIEditor.staticimage[1] ) then dxDrawRectangle (0,0,800,600,tocolor(0,0,0,190),false) end end) bindKey('f6','down', function ( ) GUIEditor.staticimage[1] = not GUIEditor.staticimage[1] showCursor ( GUIEditor.staticimage[1] ) end)
  15. ليه فيه خطآ في الاحدثيات ؟ انت مو تقول تبي الحماية علي مكان معين ؟[/quotانا حاطه في مكان بس تخرب كل شوي و تخرب ام السيرفر تخليه كله حمايه
  16. ليه فيه خطآ في الاحدثيات ؟
  17. اخواني انا عندي حمايه اخذته من موقع جراند العرب الحمايه زابطه كل شيء لكن فيه عيب واحد كل شوي تخرب مثل يطلق من جوته ومره تجي حمايه لكل الاماكن في السيرفر كامل ابي بس تجي احمايه في المنطقه المحمه كلنت --[[ ******************* [url=http://www.gta-arabs.com]http://www.gta-arabs.com[/url] By Co[L]a>3 ******************* --]] PX,PY = x,y -- الأحدثيات sizeX,sizeY = Size1,Size2 -- الحجم r,p,g = ColorR,ColorP,ColorG -- اللون local screenW, screenH = guiGetScreenSize() function zoneText() end zoneLS = createColRectangle(-4780.50,-3111.62,555.16,555.13) zoneColorLS = createRadarArea (-4780.50,-3111.62,555.16,555.13,250,210,130) function PlayerD() cancelEvent () end function hit(element) if source == zoneLS then if (getElementType (element) == "vehicle") then triggerServerEvent ("del",localPlayer,element) elseif (getElementType (element) == "player") then addEventHandler("onClientRender", root,zoneText) addEventHandler ("onClientPlayerDamage",getRootElement(),PlayerD) toggleControl ("next_weapon",false) toggleControl ("previous_weapon",false) toggleControl ("fire",false) setPlayerWeaponSlot (element,0) toggleControl (hitElement, "sprint", true) toggleControl (hitElement, "aim_weapon", false) toggleControl (hitElement, "vehicle_fire", false) toggleControl (hitElement, "vehicle", false) showPlayerHudComponent (hitElement, "ammo", false) showPlayerHudComponent (hitElement, "weapon", false) triggerClientEvent (hitElement, "enableGodMode", hitElement) end end end function Leave() if source == zoneLS then removeEventHandler("onClientRender", root,zoneText) removeEventHandler ("onClientPlayerDamage",getRootElement(),PlayerD) toggleControl ("next_weapon",true) toggleControl ("previous_weapon",true) toggleControl ("fire",true) toggleControl (hitElement, "sprint", true) toggleControl (hitElement, "aim_weapon", true) toggleControl (hitElement, "vehicle_fire", true) toggleControl (hitElement, "vehicle", true) showPlayerHudComponent (hitElement, "ammo", true) showPlayerHudComponent (hitElement, "weapon", true) triggerClientEvent (hitElement, "enableGodMode", hitElement) end end addEventHandler ("onClientColShapeLeave",root,Leave) addEventHandler ("onClientColShapeHit",root,hit) سيرفر addEvent ("del",true) addEventHandler ("del",root, function (element) destroyElement(element) end)
  18. saef

    طلب

    طلب ابي تضيفون هنا لي مود الترقيات المخالف و لم يخذ رتبه تنسحب الي قبل م تتتكر كلنت ---------------------- -- Setting ---------------------- local Admin = { {"King.Time","15"}, {"King.Drift","30"}, {"Police","60"}, {"V.I.P","80"}, {"Moderator","100"}, {"SuperModerator","140"}, {"ADMIN","180"}, {"Head.Admin","200"}, {"Professional.Admin","250"}, {"Admin.MFA","300"}, {"Admin.SPORT","350"}, {"Admin.BOOS","400"}, {"Admin.TOP","450"}, {"Big.Admin","500"}, {"Admin.Plus","600"}, {"Admin.FeatUreD","700"}, {"BesT.Admin","800"}, {"Leader.Admin","1000"}, {"Prince.V.I.P","1300"}, {"Prince.Admin","1500"}, {"Prince.Server","1800"}, {"Super.Admin","2000"}, {"KinG.SeRvEr","2500"}, } ---------------------- -- Setting ---------------------- FontGrid = guiCreateFont( "Fonts/Font2.ttf", 11 ) FontLabel = guiCreateFont( "Fonts/Font2.ttf", 13 ) FontButton = guiCreateFont( "Fonts/Font2.ttf", 13 ) GUIEditor = { gridlist = {}, staticimage = {}, button = {}, label = {} } GUIEditor.staticimage[1] = guiCreateStaticImage(257, 104, 291, 363, "images/Back.png", false) guiSetVisible(GUIEditor.staticimage[1], false) guiWindowSetSizable(GUIEditor.staticimage[1], false) guiWindowSetMovable(GUIEditor.staticimage[1], true) GUIEditor.label[1] = guiCreateLabel(2, 2, 284, 48, "=[ منظمة الهجولة يرحب بكم ]=", false, GUIEditor.staticimage[1]) guiLabelSetColor(GUIEditor.label[1], 255, 251, 0) GUIEditor.gridlist[1] = guiCreateGridList(10, 51, 271, 251, false, GUIEditor.staticimage[1]) guiGridListAddColumn(GUIEditor.gridlist[1], "Group", 0.7) guiGridListAddColumn(GUIEditor.gridlist[1], "Hours", 0.3) GUIEditor.button[1] = guiCreateButton(10, 307, 271, 46, "=[ شراء الرتبه ]=", false, GUIEditor.staticimage[1]) guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF00FFFC") guiSetFont(GUIEditor.gridlist[1], FontGrid ) guiSetFont(GUIEditor.label[1], FontLabel ) guiSetFont(GUIEditor.button[1], FontButton ) for k,v in ipairs ( Admin ) do row = guiGridListAddRow(GUIEditor.gridlist[1]); guiGridListSetItemText(GUIEditor.gridlist[1],row,1,v[1],false,false); guiGridListSetItemText(GUIEditor.gridlist[1],row,2,v[2],false,false); guiGridListSetItemColor(GUIEditor.gridlist[1],row,1,math.random(0,255),math.random(0,255),math.random(0,255)) guiGridListSetItemColor(GUIEditor.gridlist[1],row,2,math.random(0,255),math.random(0,255),math.random(0,255)) end xMainFunctions_ = function ( ) local row, col = guiGridListGetSelectedItem ( GUIEditor.gridlist[1] ) local Group = tostring ( guiGridListGetItemText(GUIEditor.gridlist[1],row,1 )); local Price = tostring ( guiGridListGetItemText(GUIEditor.gridlist[1],row,2 )); if ( row and col and row ~= -1 and col ~= -1 ) then triggerServerEvent("Accept:the:request",localPlayer,Group,Price); else outputChatBox("Please Click On The Rank",math.random(0,255),math.random(0,255),math.random(0,255),true); end end addEventHandler("onClientGUIClick",GUIEditor.button[1],xMainFunctions_,false) local againStartMove = 10 local endMove = 300 addEventHandler("onClientRender",root,function() if ( guiGetVisible(GUIEditor.label[1]) == true ) then local x,y = guiGetPosition(GUIEditor.label[1],false) guiSetPosition(GUIEditor.label[1],x + 1,y,false) if ( x >= endMove ) then guiSetPosition(GUIEditor.label[1],againStartMove,y,false) end end end) addEventHandler ( "onClientResourceStart", root, function ( ) if ( isTimer ( timerColor ) ) then killTimer ( timerColor ) end timerColor = setTimer ( function ( ) guiLabelSetColor ( GUIEditor.label[1], math.random ( 255 ), math.random ( 255 ), math.random ( 255 ) ) end, 100, 0 ) end ) addEventHandler("onClientResourceStart", resourceRoot, function() setTimer(function() for _, random in ipairs(getElementsByType('gui-button',getResourceRootElement(getThisResource())) ) do guiSetProperty(random, 'NormalTextColour', string.format("%.2X%.2X%.2X%.2X", 255, math.random(255), math.random(255), math.random(255))) end end, 100, 0) end) bindKey("F7", "down", function() if guiGetVisible(GUIEditor.staticimage[1]) == true then guiSetVisible(GUIEditor.staticimage[1], false) showCursor(false) guiSetInputEnabled(false) else if guiGetVisible(GUIEditor.staticimage[1]) == false then guiSetVisible(GUIEditor.staticimage[1], true) showCursor(false) guiSetInputEnabled(true) end end end ) سيرفر xAddToGroupFunction_ = function ( Group,Price ) local account = getAccountName(getPlayerAccount(source)); if isGuestAccount(getPlayerAccount(source)) then return outputChatBox("#=[يجب عليك التسجيل اولا]=",source,255,0,0,true); end if isObjectInACLGroup("user."..account, aclGetGroup(tostring(Group))) then return outputChatBox("#You have this rank, please choose another class",source,0,255,255,true); end local sValue = getElementData( source,'PlayTime' ) if not sValue then sValue = '0:0:0' end local data = split(sValue,':') local hour = tonumber( data[1] ) if hour == nil or not tonumber(hour) then hour = 0 end if ( hour >= tonumber(Price)) then aclGroupAddObject (aclGetGroup( tostring(Group)),"user."..account); outputChatBox("#=[مبروك حصولك على الرتبه]= "..Name,source,255,0,0,true); else outputChatBox("#=[ انت لا تملك الساعات الكافيه]=",source,0,255,255,true); end end addEvent("Accept:the:request",true) addEventHandler("Accept:the:request",root,xAddToGroupFunction_)
  19. saef

    مشكله

    تقدر تسوي داتا وتستعملها كيف ؟ يعني
×
×
  • Create New...