Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local root = getRootElement()
- function chatbox(text, msgtype)
- local account = getAccountName(getPlayerAccount(source))
- local name = " "
- cancelEvent()
- if isObjectInACLGroup("user." .. account, aclGetGroup("nap")) then
- outputChatBox("#FF0000°•~█|نائب صاحب السيرفر|█~•°#FFFFFF#00ff00" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("msad")) then
- outputChatBox("#999999°•~█|مساعد صاحب السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("admint")) then
- outputChatBox("#000000☠✬~•°#aff606[مسؤوول ترقيات].#000000.°•~☠✬][#aaaaaa#ffffff" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then
- outputChatBox("#FF0000°•~█|صأحب السيرفر|█~•°#aaaaaa#00ff00" .. name ..":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("shkwi")) then
- outputChatBox("#000000☠✬~•°#aff606[مسؤوول الشكاوي].#000000.°•~☠✬][#aaaaaa#ffffff" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("msol")) then
- outputChatBox("#BF00E8 °•~█|مسؤل السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("napmspl")) then
- outputChatBox("#00C5FF °•~█|نائب مسؤل السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("mder3m")) then
- outputChatBox("#A8FF82 °•~█|الأدارة العامـ|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("napadra")) then
- outputChatBox("#770200°•~█|نائب أدارة|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("napmder")) then
- outputChatBox("#B4B4B4°•~█|نائب مدير|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator")) then
- outputChatBox("#0000FF°•~█|مراقب السيرفر|█~•°#FFFFFF#ff0000" .. name ..":#CC0000 " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator2")) then
- outputChatBox("#ffff00°•~█|نائب مراقب السيرفر|█~•°#FFFFFF#ff0000" .. name ..":#CC0000 " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator")) then
- outputChatBox("#2AFF00°•~█|مشرف السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#CC0000 " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator2")) then
- outputChatBox("#2AFF00°•~█|نائب مشرف السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#CC0000 " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("police")) then
- outputChatBox("#4F2123°•~█|شرطي|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("police2")) then
- outputChatBox("#4F2123°•~█|نائب شرطي|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("V.I.P")) then
- outputChatBox("#ff00ff°•~█|كبار شخصيات|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("KingDrift")) then
- outputChatBox("#330033~°•~█|سائق محترف|█~•°#ffffff#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then
- outputChatBox("#FFFF00*•| لأُعًبِ أُلڛًيّرُفَرُ |•*#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
- elseif isObjectInACLGroup("user." .. account, aclGetGroup("msorr")) then
- outputChatBox("#999999°•~█|مصور السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
- end
- end
- addEventHandler("onPlayerChat", root, chatbox)
- outputChatBox(" #ffffffAdmin TAG #ff0000 By MoN7RF", getRootElement(),9,235,176,true) -- OnStartMessage
- function mm ( text )
- setTimer ( mm2, 1000, 1 )
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement