-
Posts
1,363 -
Joined
-
Last visited
Everything posted by Max+
-
لايقصد زي التكتيكس يوم تفعل هاك اللي يغير اعدادت السي بق يطلع رسالة بالشات Za7f has used custom controls and his controls set to deffult , ..
-
دريم الصورة 600 x 600 + الجريد لست صغيرة كيف تبي تحط 3 صورة بمقاس 600x 600 ? ذي خلفية وندز خخخ جربت احمل صور صغيرة وضبطت معي بس يبي تصمم النافذة باستخدام guiedtior وتصمم الصورة وتسوي الجريد على مقاس الصورة وتصغر صور الازرار .. ويفضل تشيل عند مرور الماوس لانه سبب لي مشاكل مع المود احرك شوي يجي زر 1 واشيل يجي زرر 2 ومايخلي الاعب يضغط على الازرار لانها بسرعه تختفي
-
هههههههههه زي ماتوقعت حايس امه . صبر جالس اضبطه . . ياليت تقول لي button.png + button2.png الاولى وش تسوي والثانية وش تسوي . .
-
طيب ذا اذا الاعب ضغط على الخلفيه ؟ وش فيه كانك مسوي if source == .. . انت فاهم السورس خطأ كل حدث يفرق عن الثاني وراجع الويكي عشان تعرف ايش السورس لحدث معين هو الشي الي انضغط عليه و ليس الاعب الي ضغط على الشي onClientGUIClick السورس في الحدث و اصلاً ما يصير اساساً تقارن لاعب ب زر يعني يصير مثلاً تقارن ماكس == خلفية؟ انت خلفية؟ هههههه اها , واضح الحين الله يعطيك العافية تبوله ماقصرت
-
Maybe this will help ? addEventHandler ( 'onPlayerJoin', root, function ( ) triggerClientEvent ( source, 'Check', source ) end ) ---Client addEvent('Check', true ) addEventHandler ('Check', root, function ( ) if getKeyState( "capslock" ) == true then outputChatBox(getPlayerName(localPlayer)..'His CapsLocks Are Active ', 255, 255, 0 ) elseif getKeyState ( "capslocks") == false then outputChatBox(getPlayerName(localPlayer)..'His CapsLocks Are Not Active ', 255, 255, 0 ) end end )
-
طيب ذا اذا الاعب ضغط على الخلفيه ؟ وش فيه كانك مسوي if source == .. .
-
وليه هريس بالله ؟ وش الخطأ ماشوف فيه شي . .
-
اضغط السكربت وارفعه على موقع مع الصور وانا بضبطه لك وبرسله لك لاني ماعرف كم تبي صور + الفائدة من المود ارسلي السكربت خاص اذا ماتقدر تحطه هنا
-
سكربت جميل ومفيد للمراقبة الغير موثوق فيهم وعجبني تصميم النافذة , واصل يابطل #
-
--ServerSide , local ads = { 'AD1', 'AD2', 'AD3', 'AD4', 'AD5', } addEventHandler("onPlayerChat", root, function(msg) for _,v in ipairs(ads) do if string.find(msg,v) then banPlayer( source ) end end end )
-
مايحتاج ؟ والرجال فاضي كل شوي يرفع السكربت للسيرفر ويشتغله ويشوف الاخطاء ؟ يصححها من الاساس قبل يجربه افضل . . . اختصار للوقت . .
-
addEventHandler ( 'onClientResourceStart', resourceRoot, function ( ) mainBackground = guiCreateStaticImage( 20, 200, 100, 100, "window.png", false ) local mainBackground2 = guiCreateStaticImage ( 20, 200, 100, 100, "Button.png", false) Label = guiCreateLabel(0.02,0.04,0.94,0.92,"This is help text.",true,mainBackground) guiSetEnabled(Label, false) guiSetFont (Label, "default-normal") guiLabelSetHorizontalAlign(Label, "center") guiLabelSetVerticalAlign(Label, "center") guiLabelSetColor( Label, 255, 0, 0 ) end ) addEventHandler( "onClientMouseEnter", resourceRoot, function () if ( localPlayer == mainBackground ) then guiStaticImageLoadImage(mainBackground,"Button2.png") guiLabelSetColor(Label, 255, 0, 0) playSoundFrontEnd ( 3) end end ) addEventHandler( "onClientGUIClick", resourceRoot, function ( ) if (localPlayer == mainBackground ) then playSoundFrontEnd ( 19) end end) addEventHandler( "onClientMouseLeave", resourceRoot, function ( ) if (localPlayer == mainBackground ) then guiStaticImageLoadImage(mainBackground,"File/Button.png") guiLabelSetColor( mainBackgroundLabel, 255, 0, 0 ) end end) تأكد الكود كلينت . . + اذا الصور كلها في مجلد اسمه File لازم كل الصور تسوي لهم File/'Button1' File/'Button2' ... الخ + ياليت تستخدم الديبق وتقول لي وش يطلع لك اخطاء من كودي . .
-
اذا تبي سكربت حق زومبي ليفلات + EXp + بصوت وكلام انا ابيعك حقي , بالسعر اللي نتفق عليه .. مو شرط فلوس بطاقات شحن اذا موافق كلمني خاص ..
-
ماشاء الله 100% وكيف ناوي تكشف الاخطاء ؟ وكيف ناوي تشفر السكربت ؟ يستخدم MTA_Script_Editor عشان يكشف الاخطاء . . . و LUA Compiler عشان يشفر مايبي لا شاهي ولا شي .
-
جرب الكود حقي استبدل x , y hight , width .. باللي عندك وبس
-
مين قالك خو بسوي هيك تفضل جرب 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) باراميتر الصورة المطلوب 6 ممن وين جبت ksa ?
-
addEventHandler ( 'onClientResourceStart', resourceRoot, function ( ) mainBackground = guiCreateStaticImage( 20, 200, 100, 100, "window.png", false ) Label = guiCreateLabel(0.02,0.04,0.94,0.92,"This is help text.",true,mainBackground) guiSetEnabled(Label, false) guiSetFont (Label, "default-normal") guiLabelSetHorizontalAlign(Label, "center") guiLabelSetVerticalAlign(Label, "center") guiLabelSetColor( Label, 255, 0, 0 ) end ) addEventHandler( "onClientMouseEnter", resourceRoot, function () if ( localPlayer == mainBackground ) then guiStaticImageLoadImage(mainBackground,"Button2.png") guiLabelSetColor(Label, 255, 0, 0) playSoundFrontEnd ( 3) end end )
-
yeb he have to use php as well
-
Maybe this will do the job , callRemote
-
addEvent( "onClientSend",true ) local serverDisplay,serverText addEventHandler( "onClientSend",root, function( ) textDisplayRemoveObserver( serverDisplay, source ) end ) addEventHandler( "onPlayerJoin",root, function( ) serverDisplay = textCreateDisplay( ) textDisplayAddObserver ( serverDisplay, source ) serverText = textCreateTextItem ( "Downloading.Please wait!", 0.5, 0.5,1,255,0,0,255,2,"center","center",200 ) textDisplayAddText ( serverDisplay, serverText ) end ) ---Client local timer = setTimer( function( ) if not isTransferBoxActive( ) then triggerServerEvent( "onClientSend",localPlayer ) killTimer( timer ) end end, 1000, 2 )
-
اصلا مدري وش فايدتها الفلس هنا + انا شفت نفس مثال الويكي بعمل جريد لست وطبقت عليه هنا . .
-
ادري زبط بس لازم نطرح زاحف ههههههههههههههه حياك الله
-
اول شي لازم يستخدم guiGridListGetSelectedItem + guiGridListGetItemText + يحط resourceRoot مع حدث ضغط الزر . .
-
why you don't want to use this function ?
-
غلط , + فهاوه طلعت مشكلتك بانشاء القريد مسويها غلط , . . تم التعديل مره الثالثه . انسخ الكود مره ثانية . .
