Jump to content

صفحة طلبـآآتي / طلبـآآت نيكلز


Recommended Posts

  • 3 weeks later...
  • Replies 76
  • Created
  • Last Reply

Top Posters In This Topic

السسلآآم عليكم

شبـآآب آبي كود زي حق مود القوآنين اللي يكتب

النشر = ميوت

وكذآ يعني

و

كل 5 دقايق يطلع كلام ويروح

مع حلاوه؟ ولا بدون

مع كفف عـ خششتكك ض1

Link to comment
افتح المود و عدل عليه احد قال لك لا

تبي الكود الكود فيه المود مو مشفر مو لازم

يعني انسخه من المود و احطه هنا

اذا قصدك غير ذا المود وضح اكثر

آوكك خلآآص شكرآ مـآآنبي كود ولآآ ششي

Link to comment

شبـآآب لقيت الكود اللي آبيه

بسس الحين آبي آخليه اذا دخل لاعب يكتب في هذآ الصندوق

يعني بدل مـآيكتب " دخل اللاعب الى السيرفر " في الششآت يكتبه في هذآ الشريط

هذآ كود الخروج والدخول

addEventHandler('onClientPlayerJoin', root, 
    function() 
        outputChatBox('* ' .. getPlayerName(source) .. ' has joined the game', 255, 100, 100) 
    end 
) 
  
addEventHandler('onClientPlayerChangeNick', root, 
    function(oldNick, newNick) 
        outputChatBox('* ' .. oldNick .. ' is now known as ' .. newNick, 255, 100, 100) 
    end 
) 
  
addEventHandler('onClientPlayerQuit', root, 
    function(reason) 
        outputChatBox('* ' .. getPlayerName(source) .. ' has left the game [' .. reason .. ']', 255, 100, 100) 
    end 
) 

Link to comment
اطرح الكود الي لقيته عشان نقدر نفيدكك
  
-- *********************************************** 
-- * DHooser / News Box                   * 
-- * Written by DHooser (c) 2010                   * 
-- *********************************************** 
  
local messagesList = { 
    "Message 1", 
    "Message 2", 
    "Message 3", 
    "Message 4", 
    "Message 5", 
    "Message 6", 
} 
local currentMessage = 0 
  
-- ******************** 
-- *  Event handlers  * 
-- ******************** 
addEventHandler("onClientPreRender", getRootElement(), 
    function() 
        local screenWidth, screenHeight = guiGetScreenSize() 
  
        -- Draw the news sticker. 
        dxDrawRectangle(screenWidth - 204, 4, 200, 20, tocolor(0, 0, 0, 192), false) 
         
        -- Draw all strings. 
        dxDrawText(messagesList[currentMessage + 1], screenWidth - 202, 6, screenWidth - 6, 16, tocolor(255, 0, 0, 255), 1, "default-bold", "center", "top", false, false, false) 
    end 
) 
  
function updateMessage() 
    if (currentMessage == 4) then 
        currentMessage = 0 
    else 
        currentMessage = currentMessage + 1 
    end 
end 
setTimer(updateMessage, 5000, 0) 
  

Link to comment

بعد ممآ جربته ..

local theMessage = '' 
  
function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, left, top, clip, wordbreak, postGUI) 
    local pat = "(.-)#(%x%x%x%x%x%x)" 
    local s, e, cap, col = str:find(pat, 1) 
    local last = 1 
    while s do 
        if cap == "" and col then color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), 
        tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end 
        if s ~= 1 or cap ~= "" then 
            local w = dxGetTextWidth(cap, scale, font) 
            dxDrawText( cap, ax, ay, ax + w, by, color, scale, font ) 
            ax = ax + w 
            color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) 
        end 
        last = e + 1 
        s, e, cap, col = str:find( pat, last ) 
    end 
    if last <= #str then 
        cap = str:sub( last ) 
        local w = dxGetTextWidth( cap, scale, font ) 
        dxDrawText( cap, ax, ay, ax + w, by, color, scale, font, left, top, clip, wordbreak, postGUI ) 
    end 
end 
  
addEventHandler('onClientPlayerJoin', root, 
    function() 
        theMessage = '* ' .. getPlayerName( source ) .. ' has joined the game .' 
    end 
) 
  
addEventHandler('onClientPlayerChangeNick', root, 
    function( oldNick, newNick ) 
        theMessage = '* ' .. oldNick .. ' is now known as ' .. newNick  
    end 
) 
  
addEventHandler('onClientPlayerQuit', root, 
    function( reason ) 
        theMessage = '* ' .. getPlayerName( source ) .. ' has left the game [' .. reason .. ']' 
    end 
) 
  
addEventHandler("onClientPreRender", root, 
    function() 
        local screenWidth, screenHeight = guiGetScreenSize() 
        dxDrawRectangle(screenWidth - 204, 4, 200, 20, tocolor(0, 0, 0, 192), false) 
        dxDrawColorText( theMessage, screenWidth - 202, 6, screenWidth - 6, 16, tocolor(255, 0, 0, 255), 1, "default-bold", "center", "top", false, false, false) 
    end 
) 

Link to comment
بعد ممآ جربته ..
local theMessage = '' 
  
function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, left, top, clip, wordbreak, postGUI) 
    local pat = "(.-)#(%x%x%x%x%x%x)" 
    local s, e, cap, col = str:find(pat, 1) 
    local last = 1 
    while s do 
        if cap == "" and col then color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), 
        tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end 
        if s ~= 1 or cap ~= "" then 
            local w = dxGetTextWidth(cap, scale, font) 
            dxDrawText( cap, ax, ay, ax + w, by, color, scale, font ) 
            ax = ax + w 
            color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) 
        end 
        last = e + 1 
        s, e, cap, col = str:find( pat, last ) 
    end 
    if last <= #str then 
        cap = str:sub( last ) 
        local w = dxGetTextWidth( cap, scale, font ) 
        dxDrawText( cap, ax, ay, ax + w, by, color, scale, font, left, top, clip, wordbreak, postGUI ) 
    end 
end 
  
addEventHandler('onClientPlayerJoin', root, 
    function() 
        theMessage = '* ' .. getPlayerName( source ) .. ' has joined the game .' 
    end 
) 
  
addEventHandler('onClientPlayerChangeNick', root, 
    function( oldNick, newNick ) 
        theMessage = '* ' .. oldNick .. ' is now known as ' .. newNick  
    end 
) 
  
addEventHandler('onClientPlayerQuit', root, 
    function( reason ) 
        theMessage = '* ' .. getPlayerName( source ) .. ' has left the game [' .. reason .. ']' 
    end 
) 
  
addEventHandler("onClientPreRender", root, 
    function() 
        local screenWidth, screenHeight = guiGetScreenSize() 
        dxDrawRectangle(screenWidth - 204, 4, 200, 20, tocolor(0, 0, 0, 192), false) 
        dxDrawColorText( theMessage, screenWidth - 202, 6, screenWidth - 6, 16, tocolor(255, 0, 0, 255), 1, "default-bold", "center", "top", false, false, false) 
    end 
) 

يعطييك العـآآفية آخووي مـآآقصصرت > >تم التجربة

مششكوؤر الله يكثثر من آمثـآآلكك

Link to comment
local theMessage = '' 
  
function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, left, top, clip, wordbreak, postGUI) 
    local pat = "(.-)#(%x%x%x%x%x%x)" 
    local s, e, cap, col = str:find(pat, 1) 
    local last = 1 
    while s do 
        if cap == "" and col then color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), 
        tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end 
        if s ~= 1 or cap ~= "" then 
            local w = dxGetTextWidth(cap, scale, font) 
            dxDrawText( cap, ax, ay, ax + w, by, color, scale, font ) 
            ax = ax + w 
            color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) 
        end 
        last = e + 1 
        s, e, cap, col = str:find( pat, last ) 
    end 
    if last <= #str then 
        cap = str:sub( last ) 
        local w = dxGetTextWidth( cap, scale, font ) 
        dxDrawText( cap, ax, ay, ax + w, by, color, scale, font, left, top, clip, wordbreak, postGUI ) 
    end 
end 
  
addEventHandler('onClientPlayerJoin', root, 
    function() 
        theMessage = '* ' .. getPlayerName( source ) .. ' has joined the game .' 
         setTimer ( 
            function ( ) 
                theMessage = '' 
            end 
            ,6000,1 
        ) 
    end 
) 
  
addEventHandler('onClientPlayerChangeNick', root, 
    function( oldNick, newNick ) 
        theMessage = '* ' .. oldNick .. ' is now known as ' .. newNick  
        setTimer ( 
            function ( ) 
                theMessage = '' 
            end 
            ,6000,1 
        ) 
    end 
) 
  
addEventHandler('onClientPlayerQuit', root, 
    function( reason ) 
        theMessage = '* ' .. getPlayerName( source ) .. ' has left the game [' .. reason .. ']' 
        setTimer ( 
            function ( ) 
                theMessage = '' 
            end 
            ,6000,1 
        ) 
    end 
) 
  
addEventHandler("onClientPreRender", root, 
    function() 
        local screenWidth, screenHeight = guiGetScreenSize() 
        dxDrawRectangle(screenWidth - 204, 4, 200, 20, tocolor(0, 0, 0, 192), false) 
        dxDrawColorText( theMessage, screenWidth - 202, 6, screenWidth - 6, 16, tocolor(255, 0, 0, 255), 1, "default-bold", "center", "top", false, false, false) 
    end 
) 

Link to comment
local theMessage = '' 
  
function dxDrawColorText(str, ax, ay, bx, by, color, scale, font, left, top, clip, wordbreak, postGUI) 
    local pat = "(.-)#(%x%x%x%x%x%x)" 
    local s, e, cap, col = str:find(pat, 1) 
    local last = 1 
    while s do 
        if cap == "" and col then color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), 
        tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) end 
        if s ~= 1 or cap ~= "" then 
            local w = dxGetTextWidth(cap, scale, font) 
            dxDrawText( cap, ax, ay, ax + w, by, color, scale, font ) 
            ax = ax + w 
            color = tocolor( tonumber( "0x"..col:sub( 1, 2 ) ), tonumber( "0x"..col:sub( 3, 4 ) ), tonumber( "0x"..col:sub( 5, 6 ) ), 255 ) 
        end 
        last = e + 1 
        s, e, cap, col = str:find( pat, last ) 
    end 
    if last <= #str then 
        cap = str:sub( last ) 
        local w = dxGetTextWidth( cap, scale, font ) 
        dxDrawText( cap, ax, ay, ax + w, by, color, scale, font, left, top, clip, wordbreak, postGUI ) 
    end 
end 
  
addEventHandler('onClientPlayerJoin', root, 
    function() 
        theMessage = '* ' .. getPlayerName( source ) .. ' has joined the game .' 
         setTimer ( 
            function ( ) 
                theMessage = '' 
            end 
            ,6000,1 
        ) 
    end 
) 
  
addEventHandler('onClientPlayerChangeNick', root, 
    function( oldNick, newNick ) 
        theMessage = '* ' .. oldNick .. ' is now known as ' .. newNick  
        setTimer ( 
            function ( ) 
                theMessage = '' 
            end 
            ,6000,1 
        ) 
    end 
) 
  
addEventHandler('onClientPlayerQuit', root, 
    function( reason ) 
        theMessage = '* ' .. getPlayerName( source ) .. ' has left the game [' .. reason .. ']' 
        setTimer ( 
            function ( ) 
                theMessage = '' 
            end 
            ,6000,1 
        ) 
    end 
) 
  
addEventHandler("onClientPreRender", root, 
    function() 
        local screenWidth, screenHeight = guiGetScreenSize() 
        dxDrawRectangle(screenWidth - 204, 4, 200, 20, tocolor(0, 0, 0, 192), false) 
        dxDrawColorText( theMessage, screenWidth - 202, 6, screenWidth - 6, 16, tocolor(255, 0, 0, 255), 1, "default-bold", "center", "top", false, false, false) 
    end 
) 

الله يعطييك العافية ويكثثر لنـآآ من آمثثـآآللككك وربي آنكك بطل

بسسرعة تفهم ولا تسآل وتحط كود مـآآفيه آخطـآآء يعني وشش نبي آكثثر من كذآ

الله يخليك لآمك :)

Link to comment
  • 3 weeks later...

السسلآآم علييككم ورحمة الله

شبااب اذا ممكن احد يعلمني كيف اصنع شريط زي حق التحميل

هو زي شريط تحميل المودات

يعني يعبي اذا انتهى وعبى يعطي اللاعب فلوس

وشكرا

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...