-
Posts
779 -
Joined
-
Last visited
Everything posted by Ja[B]er[X]Pro
-
اوك شكراً على المساعدة
-
عفوا حياك الله
-
ERROR: Loading script failed: mission/server.lua:29:'='expected near 'Team' اعتقد لازم ال= مرتان
-
كفووووو روعة من شخص اروع يستحق ونص
-
ما اعرف اذا صح سويته الان function team() createTeam ( Mission ,255,250,0) setPlayerTeam ( source, Mission ) end addEventHandler("onPlayerSwapn",team)
-
وش الفنكشنات الي استخدامها حتى لما الاعب يدخل الماركر ينتقل لتيم محدد ولما يقتل شخص بنفس التيم يكسب فلوس
-
استبدل سطر 22 بذا if ( Started ) then setElementInterior( HitElement, 15, unpack( Positions[math.random( #Positions )] ) ) end شكراً لكم على المساعدة
-
دي صورة اوضح اين ينقلني لما ادخل الماركر
-
لما ادخل الماركر حتى انتقل ينقلني للجو واصير اسقط ابيه ينقلني للبيت رقم 15 Interior : 15
-
خلص تم حل المشكلة شكراً على المساعدة
-
مشكلة جديدة الماركر يجي مخفي
-
شكراً + سطر 29 عندك به خطأ كلمة then موجودة مرتان
-
شكراً لك على التصحيح لكن بعده الخطأ نفسه بالدي بق
-
بعدها المشكلة الدي بق ERROR: Loading script failed: miss/server.lua:72:''xpected near '('
-
[MTA]ماهو افضل مبرمج عندك في ...#
Ja[B]er[X]Pro replied to ععيونككء اخخر امممأليء ^'s topic in القسم العام
TAPL , 3nad , Al3qrab , MoDeR2014 , UAEpro , Mr.Tn6el , Bssol , Error404(هههههه) , Abdul Karim , ZA7F , SFA7 , Nssor -
وش الخطا هنا Marker = createMarker (2226.6999511719,1838.3000488281,9.8000001907349, "cylinder", 1.5, 48, 206, 97, 0 ) setElementData ( Marker ,"Hit", true ) Timer = setTimer ( function ( ) if Timer and isTimer(Timer) or isElement(Timer) then setElementData(Marker,"Hit",true) end end,1200000,1 ); addEventHandler("onMarkerHit",Marker, function (HitElem) if getElementData( source,'Hit') then local rand = math.random(1, 12) if rand ==1 then setElementPosition ( source, 2220.82104,-1152.29944,1025.79688) elseif rand == 2 then setElementPosition ( source, 2223.53076,-1146.58630,1025.79688) elseif rand == 3 then setElementPosition ( source, 2228.42969,-1140.57678,1029.79688) elseif rand == 4 then setElementPosition ( source, 2231.60132,-1150.41760,1029.79688) elseif rand == 5 then setElementPosition ( source, 2237.60278,-1159.64636,1029.79688) elseif rand == 6 then setElementPosition ( source, 2245.54712,-1189.38806,1029.80432) elseif rand == 7 then setElementPosition ( source, 2240.68823,-1189.95288,1033.79688) elseif rand == 8 then setElementPosition ( source, 2226.09644,-1181.82043,1029.79688) elseif rand == 9 then setElementPosition ( source, 2209.90698,-1192.10559,1029.79688) elseif rand == 10 then setElementPosition ( source, 2229.25854,-1188.43433,1029.79688) elseif rand == 11 then setElementPosition ( source, 2241.62891,-1189.13782,1029.79688) elseif rand == 12 then setElementPosition ( source, 2231.00024,-1170.52417,1029.79688) elseif rand == 13 then setElementPosition ( source, 2203.62476,-1144.56409,1033.71802) outputChatBox ("تم نقلك للمهمة",HitElem) else outputChatBox ("لم تبدأ المهمة بعد",HitElem) end end end ); Timer = setTimer ( function ( ) if Timer and isTimer(Timer) or isElement(Timer) then setElementData(Marker,"Hit",false) end end,120000,1 ); function() setElementData(Marker,"Hit",true) outputChatBox("تم تشغيل المهمة",HitElem) end addCommandHendral("start1mission",Marker)
-
شكراًًًً لك على المساعدة
-
createMarker setTimer destroyElement givePlayerMoney --بخصوص ال٢٠ شخص واخر واحد يتبقي setElementData getElementData setElementPosition Note : بعتذر لو في غلطات املائية لاني اكتب من الجوال شكراً لك لكن انا ما ابي 20 شخص ابي كل 20 دقيقة
-
السلام عليكم ورحمة الله وبركاته انزل للاسفل وساعدني
-
شكراًًً لك بروح اجربه
-
السلام عليكم ورحمة الله وبركاته انا عدلت على قيم مود لكن يجيني خطأ اكواد الكلينت local Anims = {"DAN_UP_A", "dnce_M_b", "DAN_Left_A", "DAN_Down_A", "DAN_Loop_A", "dance_loop"} x, y = guiGetScreenSize() font="default-bold" fontTam=5 spcGam=dxGetTextWidth ("",fontTam,font) function intro() ahora = getTickCount() count=ahora-start dxDrawImage(0, 0, x, y, 'fondo.png',0,0,0,tocolor(255,255,255),false) sizeX=64*1.21 sizeY=64*1.21 varX,varY,varZ = anim(start,1000,spcGam,0,0,0,spcGam,150,"OutBack") dxDrawText("",0+x/2-varY/2,y/2-100,varY+x/2-varY/2,y,tocolor(38,205,0,255),fontTam,font,nil,nil,true) ---- اسم سيرفرك dxDrawText("",1+x/-varY/6-dxGetTextWidth ("i",fontTam,font),y/2-100,varY+x/2-varY/2,y,tocolor(255,255,255,255),fontTam,font,nil,nil,false,false,false,true) dxDrawText("",x/2+varY/2,y/2-100,varY+x/2-varY/2,y,tocolor(255,255,255,255),fontTam,font,nil,nil,false,false,false,true) if (count>1500) then varX2,varY2,varZ2 = anim(start+1500,1000,0,0,0,200,250,360,"OutBack") dxDrawText("شباب العرب للحرب والحياة الواقعية",0+x/2-varY/2,y/2-100+dxGetFontHeight(fontTam,font),varY+x/2-varY/2,y,tocolor(255,255,255,varX2),1.5,font,"center",nil,false,false,false,true) ---- اسم سيرفرك dxDrawText("نتمنا ان ينال آلسيرفر إعجابكم ",0+x/2-varY/2,y/2-80+dxGetFontHeight(fontTam,font),varY+x/2-varY/2,y,tocolor(255,255,255,varX2),1.5,font,"center",nil,false,false,false,true) ---- اسم سيرفرك dxDrawText("[ Welcome In Server Gta-A.H ]",0+x/2-varY/2,y/2-60+dxGetFontHeight(fontTam,font),varY+x/2-varY/2,y,tocolor(255,255,255,varX2),1.5,font,"center",nil,false,false,false,true) end if (count>2000) then varX2,varY3,varZ3 = anim(start+2000,1000*10,0,0,0,200,250,360*5,"Linear") dxDrawImage ( x/2-sizeX/2, y/2+50, sizeX, sizeY, 'img/cargando2.png',180+varZ3) dxDrawText("Loading..",12,y/2+60+sizeY+1,x,y,tocolor(0,0,0,85),1.5,font,"center",nil,false,false,false,true) dxDrawText("Loading..",10,y/2+60+sizeY,x,y,tocolor(255,255,255,255),1.5,font,"center",nil,false,false,false,true) end end function anim(tag,animTime,de1,de2,de3,hasta1,hasta2,hasta3,typeAnim) local now = getTickCount() local endTime = tag + animTime local elapsedTime = now - tag local duration = endTime - tag local progress = elapsedTime / duration local a, b, c = interpolateBetween ( de1,de2,de3,hasta1,hasta2,hasta3, progress, typeAnim) return a, b, c end fileDelete("intro_c.lua") local sx, sy = guiGetScreenSize() alpha = 250 MP = "files/1.png" MX = sx MY = sy function adjIntro(adj) _, times = getTimerDetails(IntroTimer) if adj == "M1" then MX = (MX*0.95)+5 MY = (MY*0.95) if times == 1 then setTimer(function() if (alpha <= 250) and not (alpha <= 0) then alpha = alpha - 10 else IntroTimer = setTimer(adjIntro, 50, 26, "M2") end end, 50, 26) end elseif adj == "M2" then if (alpha < 250) and (alpha >= 0) then alpha = alpha + 10 end MX = (MX/0.95)-5 MY = (MY/0.95) MP = "files/2.png" if times == 1 then setTimer(function() MP = "files/3.png" setTimer(function() IntroTimer = setTimer(adjIntro, 50, 26, "M3") end, 3500, 1) end, 4000, 1) end elseif adj == "M3" then MX = (MX*0.95)+5 MY = (MY*0.95) if times == 1 then MP = "files/4.png" MX = (MX/0.95)-5 MY = (MY/0.95) setTimer(function() setTimer(function() if (alpha <= 250) and not (alpha <= 0) then alpha = alpha - 10 else removeEventHandler("onClientRender", root, drawIntro) fadeCamera(true, 6, 0, 0, 0) setCameraMatrix(2839.3876953125,-1372.5515136719,77.730903625488,2838.6733398438,-1372.9044189453,77.126708984375) showCursor(true) guiSetVisible(GUIEditor.window[1], true) destroyElement(IntroSong) end end, 50, 26) end, 3500, 1) end end end function drawIntro() dxDrawImage(sx/2-(MX/2), sy/2-(MY/2), MX, MY, MP, 0, 0, 0, tocolor(255, 255, 255, alpha)) end function main() fadeCamera(false, 0) showChat(false) IntroSong = playSound("files/Intro.mp3") showPlayerHudComponent("all", false) start = getTickCount() addEventHandler("onClientRender",getRootElement(),intro) setTimer ( function() removeEventHandler("onClientRender",getRootElement(),intro) IntroTimer = setTimer(adjIntro, 50, 26, "M1") addEventHandler("onClientRender", root, drawIntro) triggerEvent("onFinishIntro",getRootElement()) setCameraMatrix(2839.3876953125,-1372.5515136719,77.730903625488,2838.6733398438,-1372.9044189453,77.126708984375) end, 5000, 1 ) end addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),main) GUIEditor = { tab = {}, tabpanel = {}, edit = {}, button = {}, window = {}, label = {}, memo = {} } GUIEditor.window[1] = guiCreateWindow(187, 162, 446, 344, "", false) guiSetVisible(GUIEditor.window[1], false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetInputMode("no_binds_when_editing") GUIEditor.tabpanel[1] = guiCreateTabPanel(10, 21, 579, 313, false, GUIEditor.window[1]) -----------------------------|Login|----------------------------- GUIEditor.tab[1] = guiCreateTab("Login", GUIEditor.tabpanel[1]) local MainText = xmlNodeGetValue(xmlLoadFile("Main.xml")) or "" GUIEditor.memo[1] = guiCreateMemo(4, 72, 418, 210, MainText, false, GUIEditor.tab[1]) guiMemoSetReadOnly(GUIEditor.memo[1], true) GUIEditor.label[1] = guiCreateLabel(10, 10, 65, 18, "UserName", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[1], "default-bold-small") guiLabelSetColor(GUIEditor.label[1], 5, 252, 0) GUIEditor.edit[1] = guiCreateEdit(80, 4, 210, 30, "", false, GUIEditor.tab[1]) GUIEditor.label[2] = guiCreateLabel(10, 42, 65, 18, "Password", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.label[2], "default-bold-small") guiLabelSetColor(GUIEditor.label[2], 5, 252, 0) GUIEditor.edit[2] = guiCreateEdit(80, 36, 210, 30, "", false, GUIEditor.tab[1]) guiEditSetMasked(GUIEditor.edit[2], true) GUIEditor.button[1] = guiCreateButton(297, 4, 121, 62, "Login", false, GUIEditor.tab[1]) guiSetFont(GUIEditor.button[1], "sa-header") guiSetProperty(GUIEditor.button[1], "NormalTextColour", "FF2849D6") -----------------------------|Register|----------------------------- GUIEditor.tab[2] = guiCreateTab("Register", GUIEditor.tabpanel[1]) GUIEditor.label[3] = guiCreateLabel(179, 26, 60, 19, "UserName", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[3], "default-bold-small") GUIEditor.edit[3] = guiCreateEdit(107, 49, 212, 27, "", false, GUIEditor.tab[2]) GUIEditor.label[4] = guiCreateLabel(185, 87, 60, 19, "Password", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[4], "default-bold-small") GUIEditor.edit[4] = guiCreateEdit(110, 112, 212, 27, "", false, GUIEditor.tab[2]) GUIEditor.label[5] = guiCreateLabel(165, 152, 107, 16, "Confirm Password", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.label[5], "default-bold-small") GUIEditor.edit[5] = guiCreateEdit(114, 181, 212, 27, "", false, GUIEditor.tab[2]) GUIEditor.button[2] = guiCreateButton(69, 233, 312, 36, "Register", false, GUIEditor.tab[2]) guiSetFont(GUIEditor.button[2], "sa-header") guiSetProperty(GUIEditor.button[2], "NormalTextColour", "FF05FC00") -----------------------------|Rules|----------------------------- addEventHandler("onClientGUIClick", root, function() if source == GUIEditor.button[1] then local userName = guiGetText(GUIEditor.edit[1]) local passWord = guiGetText(GUIEditor.edit[2]) if userName ~= "" and passWord ~= "" then triggerServerEvent("Login-Register", localPlayer, "Login", userName, passWord) guiSetEnabled(GUIEditor.button[1], false) setTimer(function() guiSetEnabled(GUIEditor.button[1], true) end, 3000, 1) end elseif source == GUIEditor.button[2] then local userName = guiGetText(GUIEditor.edit[3]) local passWord1 = guiGetText(GUIEditor.edit[4]) local passWord2 = guiGetText(GUIEditor.edit[5]) if userName ~= "" and passWord1 ~= "" and passWord2 ~= "" then if #passWord1 < 4 then outputChatBox("The Password should be at least 4 characters long.", 255, 100, 0) elseif passWord1 ~= passWord2 then outputChatBox("The password does not match.", 255, 0, 0) else guiSetEnabled(GUIEditor.button[2], false) setTimer(function() guiSetEnabled(GUIEditor.button[2], true) end, 3000, 1) triggerServerEvent("Login-Register", localPlayer, "Register", userName, passWord1) end end end end) addEvent("onLoginSuccess", true) addEventHandler("onLoginSuccess", root, function() guiSetVisible(GUIEditor.window[1], false) showCursor(false) local ped = createPed ( 0,2494.80981, -1685.37280, 13.51184, 190) setPedAnimation( ped, "ped", "WALK_civi") local cam = setCameraMatrix ( 2495.7783203125,-1691.3859863281,15.639100074768,2495.6257324219,-1690.5303955078,15.144391059875 ) setElementDimension( localPlayer, 20 ) setElementDimension( ped, 20 ) setTimer (function () setPedAnimation(ped,false) end, 4000, 1) setTimer (function () skinCount = 0 sPed = createPed(105, 1086.61670, -824.29596, 853.29999) addEventHandler("onClientPedDamage",sPed,cancelEvent) sRight() bindKey("arrow_l", "down", sLeft)
-
وعليكم السلام حياااااك الله منور انشاء الله حد يساعدك
-
وعليكم السلام حياااااك الله منور انشاء الله حد يساعدك
-
GUIEditor = { button = {}, edit = {}, window = {}, } GUIEditor.window[1] = guiCreateWindow(241, 112, 385, 353, "تجربة", false) guiWindowSetSizable(GUIEditor.window[1], false) guiSetAlpha(GUIEditor.window[1], 1.00) guiSetVisible (GUIEditor.window[1],false) GUIEditor.edit[1] = guiCreateEdit(65, 72, 262, 37, "**__*** *---*--* تجربة ", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(136, 186, 135, 42, "نسخ", false, GUIEditor.window[1]) GUIEditor.button[2] = guiCreateButton(327, 303, 49, 34, "اغلاق", false, GUIEditor.window[1]) ----------------------------اكواد زر النسخ function clickedButton1() local text = guiGetText(GUIEditor.edit[1]) setClipboard(text) end addEventHandler("onClientGUIClick", GUIEditor.button[1], clickedButton1, false) ---------------------------اكواد كلام يجي بالشات addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[1] then outputChatBox("تم النسخ بنجاح", 250, 255, 0) end end ) --------------------------اكواد زر فتح اللوحة local KEY = "F5" function open () guiSetVisible (GUIEditor.window[1],true) showCursor(true) end bindKey(KEY,"down",open) --------------------------اكواد زر اغلاق اللوحة addEventHandler("onClientGUIClick",root, function() if source == GUIEditor.button[2] then guiSetVisible(GUIEditor.window[1],false) showCursor(false) end end )
-
افتتاح سيرفر الحياة الواقعية اهلاً وسهلاً بكم [CMG]
Ja[B]er[X]Pro replied to game*over's topic in Arabic / العربية
الاضافات الجديدة F10 = مود توب سكور تصليح مود السكور وتعديل ايبي السيرفر الى mtasa://144.76.95.253:22059 وايقاف مشكلة الاق واضافة وظائف
