SaedAmer Posted April 9, 2016 Share Posted April 9, 2016 السلام عليكم و رحمة الله و بركاته اما بعد ايه الغلط في الكود ده؟؟ elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] " sαєɒαмєя ":#ff0055 " .. text, root, 255, 255, 255, true) Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 السلام عليكم و رحمة الله و بركاته اما بعد ايه الغلط في الكود ده؟؟ elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] " sαєɒαмєя ":#ff0055 " .. text, root, 255, 255, 255, true) Link to comment
Jupi Posted April 9, 2016 Share Posted April 9, 2016 outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) جرب Link to comment
Jupi Posted April 9, 2016 Share Posted April 9, 2016 outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) جرب Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) جرب ظبط طب و ده if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) جرب ظبط طب و ده if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 function chatbox( text, type) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) function createTeamsOnStart () outputChatBox ( "* * * ?? ??? ????? ?????? ???????? * * * ", hitter, 241, 227, 13, true ) roobB = createObject (2634, 308.10000610352, 2516.3999023438, 17.5, 0, 0, 186) for i,player in ipairs(getElementsByType("player")) do setElementData(player, "Marker_destoy", 0) setElementData(player, "MiissoinStart", false) end end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 function chatbox( text, type) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) function createTeamsOnStart () outputChatBox ( "* * * ?? ??? ????? ?????? ???????? * * * ", hitter, 241, 227, 13, true ) roobB = createObject (2634, 308.10000610352, 2516.3999023438, 17.5, 0, 0, 186) for i,player in ipairs(getElementsByType("player")) do setElementData(player, "Marker_destoy", 0) setElementData(player, "MiissoinStart", false) end end addEventHandler("onResourceStart", resourceRoot, createTeamsOnStart) Link to comment
justboy Posted April 9, 2016 Share Posted April 9, 2016 function chatbox( text, type) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) Link to comment
justboy Posted April 9, 2016 Share Posted April 9, 2016 function chatbox( text, type) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 function chatbox( text, type) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) تم شكرا Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 function chatbox( text, type) local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) if isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox( "*".. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox("#b7b7b7 * [ Console ]" .. name ..":#04FB15 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin-Ex")) then outputChatBox("#A5A5A5* [ Admin-Ex ] " .. name ..":#A5A5A5 " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ACL-Manager")) then outputChatBox("#1A10D4* [ ACL-Manager ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL1")) then outputChatBox("#2ABAC1* [ Lv.1 ] " .. name ..":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL2")) then outputChatBox("#2ABAC1* [ Lv.2 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL3")) then outputChatBox("#23F50C* [ Lv.3 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL4")) then outputChatBox("#1A9F0B* [ Lv.4 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL5")) then outputChatBox("#6740B0* [ Lv.5 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL6")) then outputChatBox("#B2B22D* [ Lv.6 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL7")) then outputChatBox("#B2B22D* [ Lv.7 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL8")) then outputChatBox("#A63911* [ Lv.8 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("LVL9")) then outputChatBox("#A63911* [ Lv.9 ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("General-Admin")) then outputChatBox("#0EFE06* [ Boss Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Help Console")) then outputChatBox("#2A6652* [ Deleverpoe ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Head-Admin")) then outputChatBox("#888888* [ Head Admin ] " .. name .. ":#D0A20A " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then outputChatBox("#D0A20A* [ Player ] " .. name .. ":#ffffff " .. text, root, 255, 255, 255, true) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SaedAmer")) then outputChatBox("#a5a5a5*[Owner] sαєɒαмєя:#ff0055 " .. text, root, 255, 255, 255, true) end end addEventHandler("onPlayerChat", getRootElement(), chatbox) تم شكرا Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 طيب و لو عاوز اضيفلو كود اول ما شتغلو يظهر كالم في الشات بالون الاصفر Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 طيب و لو عاوز اضيفلو كود اول ما شتغلو يظهر كالم في الشات بالون الاصفر Link to comment
justboy Posted April 9, 2016 Share Posted April 9, 2016 outputChatBox ( "text", root,255,255,0,true) حطه في اول الملف انا اللي فهمت لما يشتغل المود * Link to comment
justboy Posted April 9, 2016 Share Posted April 9, 2016 outputChatBox ( "text", root,255,255,0,true) حطه في اول الملف انا اللي فهمت لما يشتغل المود * Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 outputChatBox ( "text", root,255,255,0,true)حطه في اول الملف انا اللي فهمت لما يشتغل المود * شكرا ** Link to comment
SaedAmer Posted April 9, 2016 Author Share Posted April 9, 2016 outputChatBox ( "text", root,255,255,0,true)حطه في اول الملف انا اللي فهمت لما يشتغل المود * شكرا ** 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