Jump to content

kokoseda

Members
  • Posts

    96
  • Joined

  • Last visited

Everything posted by kokoseda

  1. طيب وش سويت عشان اسويها مع الأكواد الثانية
  2. السلام , ي شباب ابي اخلي المود بنص الشاشه كيف ؟ مع اني استخدمت كود يخليه بنص الشاشه شوفو الكود local xx, yy = guiGetScreenSize() local rx, ry = (xx/800), (yy/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end
  3. عدلت شف زي كذا dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false)
  4. اشتغل المود لكنه مو بنص الشاشه
  5. Client : local xx, yy = guiGetScreenSize() local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end sShowing = false bindKey("f9","down", function ( ) if ( sShowing == true ) then removeEventHandler("onClientRender",root,lo7h) showCursor ( false ) else addEventHandler("onClientRender",root,lo7h) showCursor ( true ) end sShowing = not sShowing end ) Meta : <meta> <script src="c.lua" type="client" /> </meta>
  6. جربت طلع الخطأ ذا ERROR: chato\c.lua:2: attempt to perform arithemetic on global 'x' (a nil value) الخطأ الأول راح يوم عدلت الميتا
  7. بدلته ونفس الخطأ
  8. بدلته لكن نفس المشكله
  9. لا بس الكلاينت نفس الكود الي عطيتني اياه الاخير والميتا كذا <meta> <script src="c.lua" /> </meta> + جربت نفس الخطأ .
  10. ERROR:chato\c.lua:1: attempt to call global 'guiSetScreenSize' (a nil value)
  11. Show = false local rx, ry = (x/800), (y/600) function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end bindKey ( "F9", "down", function ( ) if Show == false then removeEventHandler("onClientRender", root,lo7h) Show = true else addEventHandler("onClientRender", root,lo7h) Show = false end end )
  12. ERROR:chato\c.lua:4: attempt to perform arithmetic on global 'x' (a nil value)
  13. والله حاولت اكثر من 5 مرات عطني الكود بالله الدي بق : ERROR:chato\c.lua:3: attempt to call global ' guiSetScreenSize' (a nil value)
  14. حاولت عجزت
  15. خطأ بكود دمار بعد ERROR:chato\c.lua:1: attempt to perform arihmetic on global 'x' (a nil value)
  16. ERROR:chato\c.lua:3:attempt to call global 'guiGetScreenSize' (a nil value) نفس الخطا
  17. ERROR:chato\c.lua:1:attempt to call global 'guiGetScreenSize' (a nil value)
  18. ERROR:Loading script failed:chato\c.lua:13:'then' expected near'='
  19. ولا كود ضبط
  20. السلام عليكم مشكلتي هي المود مايظهر الأكواد local x, y = guiGetScreenSize() local rx, ry = (x/800), (y/600) addEventHandler("onClientRender", root, function lo7h() dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false) dxDrawRectangle(rx*558, ry*296, rx*150, ry*51, tocolor(36, 218, 216, 255), false) dxDrawText("hide/show chat", rx*577, ry*314, rx*688, ry*337, tocolor(255, 255, 255, 255), 1.00, "default", "left", "top", false, false, false, false, false) end ) function ft7() if removeEventHandler("onClientRender",root,lo7h) then removeEventHandler("onClientRender",root,lo7h) showCursor(false) else addEventHandler("onClientRender",root,lo7h) showCursor(true) end end bindKey ( "F9", "down", ft7 )
  21. السلام عليكم ابي تصحيح للكود ذا function gh5 ( ) outPutChatBox("سبحان الله وبحمده",0,255,0,true) end setTimer ( gh5, 5000, 0 )
  22. local browser = createBrowser(x*0.113, y*0.045, x*0.673, y*0.605, false, false, false, GUIEditor.staticimage[1]) سويت كذا ومازبط
  23. طيب وش ذا ؟ local browser = guiCreateBrowser
  24. جربت ما اشتغل .. # ما اعتقد ان ويب براوسر ريسورس له دخل #Edit: المساعدة يا شباب !
×
×
  • Create New...