MJNON Posted October 21, 2013 Share Posted October 21, 2013 السلام عليكم لو سمحتو انا عندي تاج ادمن ابي اخلي الزوار الي عندهم التحميل ماخلص يصير تاجهم Download علشان نعرف الي ماخلص تحميلهم بليز ساعدوني Link to comment
Stranger Posted October 21, 2013 Share Posted October 21, 2013 -- Client isTransferBoxActive outputChatBox Link to comment
فاّرس Posted October 21, 2013 Share Posted October 21, 2013 جرب هالطريقه ذذ onClientResourceStart setElementData onPlayerChat getElementData cancelEvent outputChatBox Link to comment
M7mD-911 Posted October 22, 2013 Share Posted October 22, 2013 سو شرط في التاج --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
MJNON Posted October 22, 2013 Author Share Posted October 22, 2013 تبي اطرح التاج هنا لانه الطريقه مانفعت Link to comment
MJNON Posted October 22, 2013 Author Share Posted October 22, 2013 هذا التاج تبعي كامل 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
|Mr|-Talal07-| Posted October 22, 2013 Share Posted October 22, 2013 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
MJNON Posted October 22, 2013 Author Share Posted October 22, 2013 تـســلــم طـــــلال شكرا تم الافاده Link to comment
|Mr|-Talal07-| Posted October 22, 2013 Share Posted October 22, 2013 تـســلــم طـــــلال شكرا تم الافاده العفوو Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now