Jump to content

مساعده بليز


MJNON

Recommended Posts

السلام عليكم

لو سمحتو انا عندي تاج ادمن

ابي اخلي الزوار الي عندهم التحميل ماخلص يصير تاجهم

Download

علشان نعرف الي ماخلص تحميلهم

بليز ساعدوني

Link to comment

سو شرط في التاج

 --Client 
if isTransferBoxActive() == true then 
outputChatBox ("(Download..)"..getPlayerName(source)..":#FFFFFF "..message, getRootElement(), 255, 255, 255, true )  -- تاج الي يحمل 
else  
outputChatBox ("(Playing..)"..getPlayerName(source)..":#FFFFFF "..message, getRootElement(), 255, 255, 255, true )   -- تاج الي خلص تحميله 
end 
  

سو triggerClientEvent

في التاج

او setElementData

Link to comment

هذا التاج تبعي كامل

function chatbox( text, type) 
    if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Big.Admin")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#AF0000*ஐمسؤول السيرفرًஐ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#A5A5A5 " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: *ஐمسؤول السيرفرًஐ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("adarh")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FF0000* ░♥أ♥لإدآرهـ العامة░ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:░♥أ♥لإدآرهـ العامة░ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Mr3gb")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#00F50B*ღღღمرآقبُღღღ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) ..":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:ღღღمرآقبُღღღ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Msr3f")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#CC00FF*๑๑๑-][ مشرفُ عام๑][-๑๑ |-»#FF0000[#FF0000S#00FF00.#0000007]    " .. getPlayerName ( source ) .. ":#ffFFff" .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:๑๑๑-][ مشرفُ عام๑][-๑๑ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("V.I.P")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FF239F* ♠♣كبـآر آلشخصيآت ً♣♠ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: ♠♣كبـآر آلشخصيآت ً♣♠ |-» " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Police")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FFAE00* ··¤(`×[¤ شِرِطْﮯ ¤]×´)¤·· |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:··¤(`×[¤ شِرِطْﮯ ¤]×´)¤·· |-» " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("wats")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#000000*♥(¯` صاحب الورشة '¯)♥ |-»#FF0000[#FF0000S#00FF00.#0000007]     " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:♥(¯` صاحب الورشة '¯)♥ |-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("wats-2")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#000000*♥(¯`  نــائب صاحب الورشه '¯)♥ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:♥(¯` صاحب الورشة '¯)♥ |-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("KingDrift")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#0000FF*♥(¯` كنج الدرفت '¯)♥ |-»#FF0000[#FF0000S#00FF00.#0000007]    " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:♥(¯` كنج الدرفت '¯)♥ |-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Voto")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#8D8D8F§][مسؤول ادمنيات][§ |-»#FF0000[#FF0000S#00FF00.#0000007]  " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:§][مسؤول ادمنيات][§ |-»  " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#00FFEE* ੀ҉°▐░صـآحبُ آلسيرفرُ▒▐ੀ҉° |-»#FF0000[#FF0000S#00FF00.#0000007] " .. getPlayerName ( source ) .. ":#FFFF00 " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: ੀ҉°▐░صـآحبُ آلسيرفرُ▒▐ੀ҉° |-»  " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("naeb")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FFAE00* ¤~|~¤~»نائب صاحب السيرفر«~¤~|~¤|-»#FF0000[#FF0000S#00FF00.#0000007]    " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:¤~|~¤~»نائب صاحب السيرفر«~¤~|~¤|-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("msmm")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#28AB00* §][مصمم الماب][§ |-»#FF0000[#FF0000S#00FF00.#0000007]     " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:§][مصمم الماب][§ |-» " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("░▐زائر كفو▐░|-»#FF0000[#FF0000S#00FF00.#0000007]      " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: [زائر] " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("town")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#AEFF00§][صاحب الونش][§ |-»#FF0000[#FF0000S#00FF00.#0000007]     " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:§][صاحب الونش][§ |-»  " .. getPlayerName ( source ) .. ": " .. text) 
  
        elseif type == 0 then 
        cancelEvent ( ) 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox ( " " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog( "CHAT: " .. getPlayerName ( source ) .. ": " .. text ) 
  
        end 
end 
addEventHandler("onPlayerChat", getRootElement(), chatbox) 
  
function s3d() 
    outputChatBox ( "~|#0000ffTAG#FFFF00|~ ADMIN #D4A017 BY #C38EC7 ~|#FF00FFMJ#000000NON#C38EC7|~", source, 0, 0, 0, true ) 
end 
addEventHandler("onPlayerJoin", getRootElement(), s3d) 
  

Link to comment
function chatbox( text, type) 
    if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Big.Admin")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#AF0000*ஐمسؤول السيرفرًஐ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#A5A5A5 " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: *ஐمسؤول السيرفرًஐ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("adarh")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FF0000* ░♥أ♥لإدآرهـ العامة░ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:░♥أ♥لإدآرهـ العامة░ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Mr3gb")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#00F50B*ღღღمرآقبُღღღ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) ..":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:ღღღمرآقبُღღღ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Msr3f")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#CC00FF*๑๑๑-][ مشرفُ عام๑][-๑๑ |-»#FF0000[#FF0000S#00FF00.#0000007]    " .. getPlayerName ( source ) .. ":#ffFFff" .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:๑๑๑-][ مشرفُ عام๑][-๑๑ |-»" .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("V.I.P")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FF239F* ♠♣كبـآر آلشخصيآت ً♣♠ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: ♠♣كبـآر آلشخصيآت ً♣♠ |-» " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Police")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FFAE00* ··¤(`×[¤ شِرِطْﮯ ¤]×´)¤·· |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:··¤(`×[¤ شِرِطْﮯ ¤]×´)¤·· |-» " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("wats")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#000000*♥(¯` صاحب الورشة '¯)♥ |-»#FF0000[#FF0000S#00FF00.#0000007]     " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:♥(¯` صاحب الورشة '¯)♥ |-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("wats-2")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#000000*♥(¯`  نــائب صاحب الورشه '¯)♥ |-»#FF0000[#FF0000S#00FF00.#0000007]   " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:♥(¯` صاحب الورشة '¯)♥ |-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("KingDrift")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#0000FF*♥(¯` كنج الدرفت '¯)♥ |-»#FF0000[#FF0000S#00FF00.#0000007]    " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:♥(¯` كنج الدرفت '¯)♥ |-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Voto")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#8D8D8F§][مسؤول ادمنيات][§ |-»#FF0000[#FF0000S#00FF00.#0000007]  " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:§][مسؤول ادمنيات][§ |-»  " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#00FFEE* ੀ҉°▐░صـآحبُ آلسيرفرُ▒▐ੀ҉° |-»#FF0000[#FF0000S#00FF00.#0000007] " .. getPlayerName ( source ) .. ":#FFFF00 " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: ੀ҉°▐░صـآحبُ آلسيرفرُ▒▐ੀ҉° |-»  " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("naeb")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#FFAE00* ¤~|~¤~»نائب صاحب السيرفر«~¤~|~¤|-»#FF0000[#FF0000S#00FF00.#0000007]    " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:¤~|~¤~»نائب صاحب السيرفر«~¤~|~¤|-» " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("msmm")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#28AB00* §][مصمم الماب][§ |-»#FF0000[#FF0000S#00FF00.#0000007]     " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:§][مصمم الماب][§ |-» " .. getPlayerName ( source ) .. ": " .. text) 
  
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Everyone")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("░▐زائر كفو▐░|-»#FF0000[#FF0000S#00FF00.#0000007]      " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT: [زائر] " .. getPlayerName ( source ) .. ": " .. text) 
         
    elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("town")) then 
 cancelEvent() 
        local r, g, b = getPlayerNametagColor(source) 
        outputChatBox("#AEFF00§][صاحب الونش][§ |-»#FF0000[#FF0000S#00FF00.#0000007]     " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
        outputServerLog("CHAT:§][صاحب الونش][§ |-»  " .. getPlayerName ( source ) .. ": " .. text) 
  
        elseif type == 0 then 
        cancelEvent ( ) 
        local r, g, b = getPlayerNametagColor(source) 
            if getElementData(source,"download") == false then 
                outputChatBox ( " " .. getPlayerName ( source ) .. ":#ffFFff " .. text, getRootElement(), r, g, b, true ) 
                outputServerLog( "CHAT: " .. getPlayerName ( source ) .. ": " .. text ) 
            else 
                outputChatBox("#ffffff* [ #ff0000Downloading #ffffff] #999999" .. getPlayerName(source) .. ": #ffffff" .. text,root,r,g,b,true) 
            end 
        end 
end 
addEventHandler("onPlayerChat", getRootElement(), chatbox) 
  
function s3d() 
    outputChatBox ( "~|#0000ffTAG#FFFF00|~ ADMIN #D4A017 BY #C38EC7 ~|#FF00FFMJ#000000NON#C38EC7|~", source, 0, 0, 0, true ) 
end 
addEventHandler("onPlayerJoin", getRootElement(), s3d) 
  
addEventHandler("onPlayerJoin",root, 
    function () 
        setElementData(source,"download",true) 
    end 
) 
  
addEventHandler("onPlayerWasted",root, 
    function () 
        setElementData(source,"download",false) 
    end 
) 

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...