Jump to content

Search the Community

Showing results for tags 'مساعده فالتاج'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Multi Theft Auto: San Andreas 1.x
    • Support for MTA:SA 1.x
    • User Guides
    • Open Source Contributors
    • Suggestions
    • Ban appeals
  • General MTA
    • News
    • Media
    • Site/Forum/Discord/Mantis/Wiki related
    • MTA Chat
    • Other languages
  • MTA Community
    • Scripting
    • Maps
    • Resources
    • Other Creations & GTA modding
    • Competitive gameplay
    • Servers
  • Other
    • General
    • Multi Theft Auto 0.5r2
    • Third party GTA mods
  • Archive
    • Archived Items
    • Trash

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Gang


Location


Occupation


Interests

Found 1 result

  1. g_Root = getRootElement() local chatTime = {} local lastChatMessage = {} klamSB = {"كلمات سيئة بعدين احطها", "كلمات سيئة بعدين احطها"} klamNSHR = {"سيرفر", "البحث", "سيــرفر", "بسيرفر", "اكتب", "سـيـرفـر", "رتب", "آكتب", "حياكم", "حيااكم", "حيآكم", "لايفوتكم", "حصريات", "أكتب"} addEventHandler('onPlayerChat', g_Root, function(msg, type) if type == 0 then cancelEvent() if chatTime[source] and chatTime[source] + tonumber(get("*chat/mainChatDelay")) > getTickCount() then outputChatBox("لا تكرر نفس رسالة", source, 255, 0, 0 ) return else chatTime[source] = getTickCount() end if get("*chat/blockRepeatMessages") == "true" and lastChatMessage[source] and lastChatMessage[source] == msg then outputChatBox("لا تكرر وراء بعض", source, 255, 0, 0 ) return else lastChatMessage[source] = msg end for k,v in ipairs (klamSB) do if string.find(msg,v) then cancelEvent() return outputChatBox(" { مَا يَلْفِظُ مِن قَوْلٍ إِلَّا لَدَيْهِ رَقِيبٌ عَتِيدٌ } ..", source, 255, 0, 0 ) end end for k,v in ipairs (klamNSHR) do if string.find(msg,v) then cancelEvent() return outputChatBox("روح انشر بعيد ..", source, 255, 0, 0 ) end end if isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF0000✖ ][ #FFFFFF Console #FF0000✖ ][ " .. getPlayerName ( source ) .."#cccccc : "..msg , g_Root, r, g, b, true ) outputServerLog("CHAT: #FF0000✖ ][ #FFFFFF Console #FF0000✖ ][" .. getPlayerName ( source ) .. ": " .. msg) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Time")) then local r, g, b = getPlayerNametagColor(source) outputChatBox("#FF9900* #ffffff[ #FF9900king of time #ffffff]" .. getPlayerName ( source ) .."#FFFFFF : " .. msg, g_Root, r, g, b, true ) outputServerLog("CHAT: [Head Admin] " .. getPlayerName ( source ) .. ": " .. msg) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("V.I.P")) then local r, g, b = getPlayerNametagColor(source) outputChatBox("#E6FF00* #ffffff[ #E6FF00V#000000.#E6FF00I#000000.#E6FF00P #ffffff] " .. getPlayerName ( source ) .."#FFFFFF : " .. msg, g_Root, r, g, b, true ) outputServerLog("CHAT: [Admin] " .. getPlayerName ( source ) .. ": " .. msg) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Admin.Genral")) then local r, g, b = getPlayerNametagColor(source) outputChatBox("#3D8BFF* #ffffff[ #3D8BFFAdmin.Genral #ffffff] " .. getPlayerName ( source ) .. "#FFFFFF : " .. msg, g_Root, r, g, b, true ) outputServerLog("CHAT: #3D8BFF* #ffffff[ #3D8BFFAdmin.Genral #ffffff] " .. getPlayerName ( source ) .. ": " .. msg) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Mangars")) then local r, g, b = getPlayerNametagColor(source) outputChatBox("#66FF00* #ffffff彡 #66FF00Managers #ffffff彡 " .. getPlayerName ( source ) .. "#FFFFFF : " .. msg, g_Root, r, g, b, true ) outputServerLog("CHAT: #66FF00* #ffffff彡 #66FF00Managers #ffffff彡 " .. getPlayerName ( source ) .. ": " .. msg) elseif isObjectInACLGroup("user." .. getAccountName(getPlayerAccount(source)), aclGetGroup("Mangaer")) then local r, g, b = getPlayerNametagColor(source) outputChatBox("#000000* #ffffff[ #000000Manager Server #ffffff] " .. getPlayerName ( source ) .. "#FFFFFF : " .. msg, g_Root, r, g, b, true ) outputServerLog("CHAT: #000000* #ffffff[ #000000Manager Server #ffffff] " .. getPlayerName ( source ) .. ": " .. msg) elseif type == 0 then cancelEvent ( ) local r, g, b = getPlayerNametagColor(source) outputChatBox ( " " .. getPlayerName ( source ) .. ":#ffFFff " .. msg, g_Root, r, g, b, true ) outputServerLog( "CHAT: " .. getPlayerName ( source ) .. ": " .. msg ) end end end ) local root = getRootElement() function chatbox(text, msgtype) local systemDBconnect = dbConnect( 'sqlite', ':1xXTAGS/[TAGS system] Database.db' ) local checkTag = dbQuery( systemDBconnect, ' SELECT * FROM TagsSystemPro WHERE serial = ? ', getAccountName( getPlayerAccount( source ) ) ) local dbValues = dbPoll( checkTag, -1 ) if ( type( dbValues ) == 'table' and #dbValues ~= 0 ) then local state = dbValues[1]['state'] if ( state == 'Enabled' ) then return end end local account = getAccountName(getPlayerAccount(source)) local name = getPlayerName(source) cancelEvent() if isObjectInACLGroup("user." .. account, aclGetGroup("NO")) then outputChatBox("NO" .. text, root, 255, 255, 255, true) هذا الكود بدي اضيفه له لما ضفته صار ميشتغل ارجو الحل
×
×
  • Create New...