Jump to content

^#Dream

Members
  • Posts

    236
  • Joined

  • Last visited

Everything posted by ^#Dream

  1. ^ ارسلت لك السكربت خاصص
  2. شكلهه مهو زابط خلاصص ماعاد ابي اسويهه مششكورين
  3. هذا كودي بدون اي تعديل نسيت احط 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 واحذفها ثم يقول خطاء عند النافذه
  4. الكود الي يغير صورة الزر جبته من سكربت عندي اي بارميتر ؟
  5. كل شوي يطلع لي ايرور يقول عند end واروح احذفه يطلع لي خطاء ثاني
  6. الصورهه تجي بس الـ Text الكلام الي بالزر مايطلع
  7. السلام عليكم انا عندي مشكلة سويت كذا 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) المشكلة ههي ان التكست الي بالبتون ماتجي تجي صورة فاضيية
  8. 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
  9. Hello Guy's i want to know how to allow Hex Codes ? Like This #FF0000$player has been muted#777777$by_admin_4all. $data2
  10. ^#Dream

    طلب

    السلام عليكم ورحمة الله وبركاته انا ابي اذا كان اللاعب عندهه تحميل تجي dxText على الشاشة واذا خلص تحميله تروح
  11. لازم تسوي له اكسبورت exports["TopBarChat"]:sendClientMessage ("Message", root, 255, 100, 100, false, 10 )
  12. ^#Dream

    طلب

    آيهه ! يعني كل سيارة ينزلها من القريد لست بس هو يقدر يركبها
  13. ^#Dream

    طلب

    انا ابي اخلي السيارة مايقدر يركبها الا الي منزل السيارة يعني محد يقدر يركب السيارة غيره هو
  14. ^#Dream

    طلب

    السلام عليكم آخباركم ؟ انا مسسوي لوحة ومخليها لقروب Donator فيها قريد لست فيها كل السيارات انا ابي اذا واحد نزل سيارة وجاء لاعب ثاني مايقدر يركبها + لو واحد ثاني من Donator وجاء يبي ياخذ سيارة الدوناتور الثاني مايقدر
  15. ^#Dream

    Private Car

    The resource is Compiled i Want it To Be on My Window not any other resource !
  16. ^#Dream

    Private Car

    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
  17. ^ مـًشًُكوُرً
  18. عدلت الاحداثيات والكتابهه بس ماطلعت الكتابهه
  19. .........................
  20. ابي مساعددهه الـ 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 سويت ديبق ماطلع اي شي
  21. ^#Dream

    طلب

    السلام عليكم انا ابي اعرف كيف اسوي اذا في واحد من اي تيم وقرب من عند منطقة الجيش يجيه تحذير واذا ماراح بعد عشر ثواني تجيه نجوم واذا في واحد من تيم Armed Force قرب من المنطقه مايجيه تحذير ولا تجيبه نجوم ياليت تفيدوني !
×
×
  • Create New...