-
Posts
96 -
Joined
-
Last visited
Everything posted by kokoseda
-
طيب وش سويت عشان اسويها مع الأكواد الثانية
-
السلام , ي شباب ابي اخلي المود بنص الشاشه كيف ؟ مع اني استخدمت كود يخليه بنص الشاشه شوفو الكود 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
-
عدلت شف زي كذا dxDrawRectangle(rx*482, ry*206, rx*318, ry*233, tocolor(238, 15, 31, 255), false)
-
اشتغل المود لكنه مو بنص الشاشه
-
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>
-
جربت طلع الخطأ ذا ERROR: chato\c.lua:2: attempt to perform arithemetic on global 'x' (a nil value) الخطأ الأول راح يوم عدلت الميتا
-
بدلته ونفس الخطأ
-
بدلته لكن نفس المشكله
-
لا بس الكلاينت نفس الكود الي عطيتني اياه الاخير والميتا كذا <meta> <script src="c.lua" /> </meta> + جربت نفس الخطأ .
-
ERROR:chato\c.lua:1: attempt to call global 'guiSetScreenSize' (a nil value)
-
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 )
-
ERROR:chato\c.lua:4: attempt to perform arithmetic on global 'x' (a nil value)
-
والله حاولت اكثر من 5 مرات عطني الكود بالله الدي بق : ERROR:chato\c.lua:3: attempt to call global ' guiSetScreenSize' (a nil value)
-
خطأ بكود دمار بعد ERROR:chato\c.lua:1: attempt to perform arihmetic on global 'x' (a nil value)
-
ERROR:chato\c.lua:3:attempt to call global 'guiGetScreenSize' (a nil value) نفس الخطا
-
ERROR:chato\c.lua:1:attempt to call global 'guiGetScreenSize' (a nil value)
-
ERROR:Loading script failed:chato\c.lua:13:'then' expected near'='
-
السلام عليكم مشكلتي هي المود مايظهر الأكواد 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 )
-
السلام عليكم ابي تصحيح للكود ذا function gh5 ( ) outPutChatBox("سبحان الله وبحمده",0,255,0,true) end setTimer ( gh5, 5000, 0 )