
^#Dream
Members-
Posts
236 -
Joined
-
Last visited
Everything posted by ^#Dream
-
شكلهه مهو زابط خلاصص ماعاد ابي اسويهه مششكورين
-
هذا كودي بدون اي تعديل نسيت احط onClientMouseLeave function guiCreateWindow(x2, y2, width2, height2, titleBarText2, relative2) local mainBackground = guiCreateStaticImage(x2, y2, width2, height2, "window.png", relative2) local mainBackgroundLabel = guiCreateLabel(0, 0, 0, 0, titleBarText2, false, mainBackground) guiSetEnabled(mainBackgroundLabel, false) return mainBackground end function guiCreateButton( x2, y2, width2, height2, titleBarText2, relative2, ksa ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "Button.png", relative2, ksa ) local w, h = guiGetSize ( mainBackground, false ) local mainBackgroundLabel = guiCreateLabel ( x2, y2, w, h, titleBarText2, false, mainBackground ) guiSetFont ( mainBackgroundLabel, font ) guiSetEnabled ( mainBackgroundLabel, false ) guiLabelSetHorizontalAlign(mainBackgroundLabel, "center") guiLabelSetVerticalAlign(mainBackgroundLabel, "center") guiLabelSetColor( mainBackgroundLabel, 255, 0, 0 ) end addEventHandler( "onClientMouseEnter", root, function () if source == mainBackground then guiStaticImageLoadImage(mainBackground,"Button2.png") guiLabelSetColor(mainBackgroundLabel, 255, 0, 0) playSoundFrontEnd ( 3) end end) addEventHandler( "onClientGUIClick", root, function () if source == mainBackground then playSoundFrontEnd ( 19) end end) addEventHandler( "onClientMouseLeave", root, function () if source == mainBackground then guiStaticImageLoadImage(mainBackground,"File/Button.png") guiLabelSetColor( mainBackgroundLabel, 255, 0, 0 ) end end) return mainBackground الاكواد حقتكم كل شوي يطلع مشكلة عند end واحذفها ثم يقول خطاء عند النافذه
-
الكود الي يغير صورة الزر جبته من سكربت عندي اي بارميتر ؟
-
كل شوي يطلع لي ايرور يقول عند end واروح احذفه يطلع لي خطاء ثاني
-
الصورهه تجي بس الـ Text الكلام الي بالزر مايطلع
-
السلام عليكم انا عندي مشكلة سويت كذا function guiCreateWindow(x2, y2, width2, height2, titleBarText2, relative2) local mainBackground = guiCreateStaticImage(x2, y2, width2, height2, "window.png", relative2) local mainBackgroundLabel = guiCreateLabel(0, 0, 0, 0, titleBarText2, false, mainBackground) guiSetEnabled(mainBackgroundLabel, false) return mainBackground end function guiCreateButton( x2, y2, width2, height2, titleBarText2, relative2, ksa ) local mainBackground = guiCreateStaticImage ( x2, y2, width2, height2, "Button.png", relative2, ksa ) local w, h = guiGetSize ( mainBackground, false ) local mainBackgroundLabel = guiCreateLabel ( x2, y2, w, h, titleBarText2, false, mainBackground ) guiSetFont ( mainBackgroundLabel, font ) guiSetEnabled ( mainBackgroundLabel, false ) guiLabelSetHorizontalAlign(mainBackgroundLabel, "center") guiLabelSetVerticalAlign(mainBackgroundLabel, "center") guiLabelSetColor( mainBackgroundLabel, 255, 0, 0 ) addEventHandler( "onClientMouseEnter", root, function () if source == mainBackground then guiStaticImageLoadImage(mainBackground,"Button2.png") guiLabelSetColor(mainBackgroundLabel, 255, 0, 0) playSoundFrontEnd ( 3) end end) المشكلة ههي ان التكست الي بالبتون ماتجي تجي صورة فاضيية
-
it didn't work local r, g, b = node["r"], node["g"], node["b"] if ( node["all"] ) then outputChatBox ( aStripString ( node["all"] ), _root, r, g, b,true ) end if ( node["admin"] ) and ( admin ~= player ) then outputChatBox ( aStripString ( node["admin"] ), admin, r, g, b,true ) end if ( node["player"] ) then outputChatBox ( aStripString ( node["player"] ), player, r, g, b,true ) end
-
Hello Guy's i want to know how to allow Hex Codes ? Like This #FF0000$player has been muted#777777$by_admin_4all. $data2
-
لازم تسوي له اكسبورت exports["TopBarChat"]:sendClientMessage ("Message", root, 255, 100, 100, false, 10 )
-
The resource is Compiled i Want it To Be on My Window not any other resource !
-
Hello i want to know how can i make a private car i have a Window that open for an acl group called Donators The Window have A Gridlist With all the cars in the game i want if he spawned a car and someone is not from acl group Donators its outputchatbox Private Car and when Another one from Donators tried to get in He Can't Just The Owner who spawned the car soo Any Player Can't Get in the car And When Another Donator tried to steal another donator car he can't
-
ابي مساعددهه الـ Text ماتطلع sx,sy = guiGetScreenSize() textsToDraw = {} maxrange = 5 addEventHandler("onClientRender",root, function() for a,b in pairs(textsToDraw) do x,y,z = b[1],b[2],b[3] scx,scy = getScreenFromWorldPosition (x,y,z) camX,camY,camZ = getCameraMatrix() if scx and scy and getDistanceBetweenPoints3D(camX,camY,camZ,x,y,z+5) <= maxrange then dxDrawFramedText(b[4],scx-0.5*dxGetTextWidth(b[4],0.30,"pricedown"),scy+30-0.5*dxGetFontHeight(0.30,"pricedown"),sx, sy+5,tocolor ( b[5], b[6], b[7], 255 ), 0.80,"pricedown") end end end ) function add3DText(x,y,z,text,r,g,b) table.insert(textsToDraw,{x,y,z,text,r,g,b}) end function dxDrawFramedText ( message , left , top , width , height , color , scale , font , alignX , alignY , clip , wordBreak , postGUI , frameColor ) color = color or tocolor ( 255 , 255 , 255 , 255 ) frameColor = frameColor or tocolor ( 0 , 0 , 0 , 255 ) scale = scale or 1 alignX = alignX or "left" alignY = alignY or "top" clip = clip or false wordBreak = wordBreak or false postGUI = postGUI or false dxDrawText ( message , left , top , width , height , color , scale , font , alignX , alignY , clip , wordBreak , postGUI ) end add3DText( 1534.9,-1443.0,13.3, "Admin Base", 6, 183, 248 ) 1534.9 X -1443.0 Y 13.3 Z سويت ديبق ماطلع اي شي