Mr-M3AND
Members-
Posts
312 -
Joined
-
Last visited
Everything posted by Mr-M3AND
-
مبروووووووووووووووووووووووووووووووك مبرووووووووووووووووووووووووووووك مبروووووووووووووووووووووووووك مبرووووووووووووووووووووووك مبرووووووووووووووووووك مبرووووووووووووووك مبرووووووووووك
-
مبروك سعد الاشراف وعقبال من يستاهلها
-
الف الف الف مبروك الله يعطيك خيرها ويكفيك شرها
-
يمكن انت مسوي تحقق بنفس الكود if source == GUIEditor.button[1] then
-
رائع , يعطيك العافيه
-
ماشاءالله شخصيات ولا اروع , واصل ابداعك وبالتوفيق
-
افتتاح قسم يختص بالخوادم والسيرفر -- MTA FOR ARABS
Mr-M3AND replied to ' ρяofзśŝoя 亗's topic in الاستضافات
موفق.. -
مااظن في اقل من 10 دولار كاش يو
-
guiGridListGetItemText guiGridListGetSelectedItem guiSetVisible
-
setElementDimension image = guiCreateStaticImage(...) guiCreateButton(x, y, width, height, "", false, image )
-
r,g,b = 63,252,41 rr,gg,bb =0,0,0 num = 1 px = 0 -------------------- function getColor() return r,g,b end function getBackColor() return rr,gg,bb end function setColor(tr,tg,tb) r,g,b = tr,tg,tb end function setBackColor(r,g,b) rr,gg,bb = r,g,b end addEventHandler("onClientRender",root, function () local x,y = guiGetScreenSize() local xx,yy = x/2,y/2 dxDrawRectangle(0,yy,x,yy/13,tocolor(rr,gg,bb,120)) dxDrawText(chat[num] ,px,yy/12,x,y,tocolor(r,g,b,255),1.5,"default-bold","center","center",false,false,false,true) end ) function makeTurn() local x,y = guiGetScreenSize() local x = x + 50 if px >= x then px = -x setchat() else px = px + 6 end end function setchat() if num == #chat then num = 1 else num = num + 1 end end ---- start = setTimer(makeTurn,100,00) stop = setTimer(makeTurn,50,00)
-
انت وين تبي تكتب بالاديت ولا وين؟؟
-
اذا كان قصدك بنفس القريد ليست يعني بدل ماتخليه ياخذ الوظيفة تخليه يقبل مهمه محدده سوي له داتا مثلا function isPlayerOnMission (Mission) if source == TButton then local row,col = guiGridListGetSelectedItem(MGrid ) if ( row and col and row ~= -1 and col ~= -1 ) then local Mission = guiGridListGetItemText(MGrid, guiGridListGetSelectedItem(MGrid), 1) if Mission == "Mission1" then if getPlayerTeam(localPlayer) and getTeamName(getPlayerTeam(localPlayer)) == 'Police' then if getElementData(localPlayer,"Mission1") == false then guiSetText(TButton ,"Cancel") setElementData(localPlayer , "Mission1" , true) elseif getElementData(localPlayer,"Mission1") == true then guiSetText(TButton ,"Take") setElementData(localPlayer , "Mission1" , false) end end end end elseif source == CButton then guiSetVisible(Mwindow , false) showCursor(false) end end addEventHandler("onClientGUIClick", resourceRoot, isPlayerOnMission) function TakeMission() local row,col = guiGridListGetSelectedItem(MGrid ) if ( row and col and row ~= -1 and col ~= -1 ) then local Mission = guiGridListGetItemText(MGrid, guiGridListGetSelectedItem(MGrid), 1) if Mission == "Mission1" then if getPlayerTeam(localPlayer) and getTeamName(getPlayerTeam(localPlayer)) == 'Police' then if getElementData(localPlayer,"Mission1") == true then guiSetText(TButton ,"Cancel") elseif getElementData(localPlayer,"Mission1") == false then guiSetText(TButton ,"Take") end end end else guiSetText(TButton ,"Take") end end addEventHandler("onClientGUIClick" , MGrid , TakeMission)
-
لنفترض انك لما سويت تريقر للسيرفر تدخل اللاعب بتيم الشرطه في الحاله هذي نسوي تحقق من التيم function TakeMission() local row,col = guiGridListGetSelectedItem(MGrid ) if ( row and col and row ~= -1 and col ~= -1 ) then local Mission = guiGridListGetItemText(MGrid,guiGridListGetSelectedItem(MGrid),1) if Mission == "Police" then if getPlayerTeam(localPlayer) and getTeamName(getPlayerTeam(localPlayer)) == 'Police' then guiSetText(TButton ,"Cancel") elseif getPlayerTeam(localPlayer) and getTeamName(getPlayerTeam(localPlayer)) ~= 'Police' then guiSetText(TButton ,"Take") end end else guiSetText(TButton ,"Take") end end addEventHandler("onClientGUIClick" , MGrid , TakeMission)
-
كيف تعطية الوظيفة ؟؟ Take اول شي جاوبني على سؤالي الحين لما اللاعب يضغظ زر
-
رااااائع , واصل ابداعك وبالتوفيق
-
المود فكرته رائعة جدا وايضاً يوفر الكثير من الوقت .., واصل ابداعك وبالتوفيق لك
-
ترا اللي حطيته فنكشنات مو الكود كامل انت تشوفهم كود كامل ؟ الصراحة هذه المافجاة صضمتنى اول شي ياليت تقرا صح مو تسوي عم خبير وثاني شي يوم تسوي فاهم وين هذي بكودك فوق^ ؟ getElementType !!يعني الا تبي تسوي زحمة والشارع فاضي