Advertisement
Mouamle

Untitled

Sep 20th, 2015
402
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.02 KB | None | 0 0
  1. local root = getRootElement()
  2.  
  3. function chatbox(text, msgtype)
  4.     local account = getAccountName(getPlayerAccount(source))
  5.     local name = " "
  6.  cancelEvent()
  7.     if isObjectInACLGroup("user." .. account, aclGetGroup("nap")) then
  8.         outputChatBox("#FF0000°•~█|نائب صاحب السيرفر|█~•°#FFFFFF#00ff00" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  9.        
  10.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("msad")) then
  11.         outputChatBox("#999999°•~█|مساعد صاحب السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  12.  
  13.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("admint")) then
  14.         outputChatBox("#000000☠✬~•°#aff606[مسؤوول ترقيات].#000000.°•~☠✬][#aaaaaa#ffffff" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  15.    
  16.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then
  17.         outputChatBox("#FF0000°•~█|صأحب السيرفر|█~•°#aaaaaa#00ff00" .. name ..":#bbbbbb " .. text, root, 255, 255, 255, true)
  18.  
  19.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("shkwi")) then
  20.         outputChatBox("#000000☠✬~•°#aff606[مسؤوول الشكاوي].#000000.°•~☠✬][#aaaaaa#ffffff" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  21.  
  22.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("msol")) then
  23.         outputChatBox("#BF00E8 °•~█|مسؤل السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  24.  
  25.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("napmspl")) then
  26.         outputChatBox("#00C5FF °•~█|نائب مسؤل السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  27.  
  28.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("mder3m")) then
  29.         outputChatBox("#A8FF82 °•~█|الأدارة العامـ|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  30.  
  31.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("napadra")) then
  32.         outputChatBox("#770200°•~█|نائب أدارة|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
  33.  
  34.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("napmder")) then
  35.         outputChatBox("#B4B4B4°•~█|نائب مدير|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
  36.        
  37.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator")) then
  38.         outputChatBox("#0000FF°•~█|مراقب السيرفر|█~•°#FFFFFF#ff0000" .. name ..":#CC0000 " .. text, root, 255, 255, 255, true)
  39.  
  40.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("SuperModerator2")) then
  41.         outputChatBox("#ffff00°•~█|نائب مراقب السيرفر|█~•°#FFFFFF#ff0000" .. name ..":#CC0000 " .. text, root, 255, 255, 255, true)
  42.        
  43.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator")) then
  44.         outputChatBox("#2AFF00°•~█|مشرف السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#CC0000 " .. text, root, 255, 255, 255, true)
  45.  
  46.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator2")) then
  47.         outputChatBox("#2AFF00°•~█|نائب مشرف السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#CC0000 " .. text, root, 255, 255, 255, true)
  48.  
  49.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("police")) then
  50.         outputChatBox("#4F2123°•~█|شرطي|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
  51.  
  52.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("police2")) then
  53.         outputChatBox("#4F2123°•~█|نائب شرطي|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
  54.    
  55.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("V.I.P")) then
  56.         outputChatBox("#ff00ff°•~█|كبار شخصيات|█~•°#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
  57.    
  58.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("KingDrift")) then
  59.         outputChatBox("#330033~°•~█|سائق محترف|█~•°#ffffff#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
  60.  
  61.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("Everyone")) then
  62.         outputChatBox("#FFFF00*•| لأُعًبِ أُلڛًيّرُفَرُ |•*#FFFFFF#ff0000" .. name .. ":#00ffff " .. text, root, 255, 255, 255, true)
  63.  
  64.     elseif isObjectInACLGroup("user." .. account, aclGetGroup("msorr")) then
  65.         outputChatBox("#999999°•~█|مصور السيرفر|█~•°#FFFFFF#ff0000" .. name .. ":#bbbbbb " .. text, root, 255, 255, 255, true)
  66.  
  67.         end
  68. end
  69. addEventHandler("onPlayerChat", root, chatbox) 
  70.  
  71. outputChatBox(" #ffffffAdmin TAG #ff0000 By MoN7RF", getRootElement(),9,235,176,true) -- OnStartMessage
  72. function mm ( text )
  73.             setTimer ( mm2, 1000, 1 )
  74. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement