0 Üye ve 1 Ziyaretçi konuyu incelemekte.
function chat_Tag(_, __)local r, g, b = getPlayerNametagColor(source)local account = getAccountName(getPlayerAccount(source)) if getElementData(source,"tag") and __ == 0 then cancelEvent() outputChatBox(""..getElementData(source,"tag").." "..getPlayerName(source)..": #FFFFFF".._.."", root, 255, 255, 255, true ) outputServerLog(""..getElementData(source,"tag").." "..getPlayerName(source)..": #FFFFFF".._) elseif __ == 0 then cancelEvent() outputChatBox(""..getPlayerName(source)..": #FFFFFF".._.."", root, 255, 255, 255, true ) outputServerLog(""..getPlayerName(source)..": #FFFFFF".._) elseif isObjectInACLGroup("user." .. account, aclGetGroup("KURUCU")) then outputChatBox('|▀▄▀▄|KURUCU|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("ADMİNS")) then outputChatBox('|▀▄▀▄|ADMIN|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SMOD")) then outputChatBox('|▀▄▀▄|SMOD|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("MOD")) then outputChatBox('|▀▄▀▄|MOD|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SERVERYR")) then outputChatBox('|▀▄▀▄|SERVERYR|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("KIDEMLIOYUNCU")) then outputChatBox('|▄|KID.OYUNCU|▄|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Polis")) then outputChatBox('|▀▄▀▄|POLIS|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("REKLAMCI")) then outputChatBox('|▀▄▀▄|REKLAMCI|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("REHBER")) then outputChatBox('|▀▄▀▄|REHBER|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("komser")) then outputChatBox('|▀▄▀▄|KOMSER|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) endendaddEventHandler("onPlayerChat", root, chat_Tag)
function chat_Tag(_, __)local r, g, b = getPlayerNametagColor(source)local account = getAccountName(getPlayerAccount(source)) if getElementData(source,"tag") and __ == 0 then cancelEvent() outputChatBox(""..getElementData(source,"tag").." "..getPlayerName(source)..": #FFFFFF".._.."", root, 255, 255, 255, true ) outputServerLog(""..getElementData(source,"tag").." "..getPlayerName(source)..": #FFFFFF".._) elseif __ == 0 then cancelEvent() outputChatBox(""..getPlayerName(source)..": #FFFFFF".._.."", root, 255, 255, 255, true ) outputServerLog(""..getPlayerName(source)..": #FFFFFF".._) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Console")) then outputChatBox('|▀▄▀▄|KURUCU|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Admin")) then outputChatBox('|▀▄▀▄|ADMIN|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Supermoderator")) then outputChatBox('|▀▄▀▄|SMOD|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Moderator")) then outputChatBox('|▀▄▀▄|MOD|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("SERVERYR")) then outputChatBox('|▀▄▀▄|SERVERYR|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("KIDEMLIOYUNCU")) then outputChatBox('|▄|KID.OYUNCU|▄|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("Polis")) then outputChatBox('|▀▄▀▄|POLIS|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("REKLAMCI")) then outputChatBox('|▀▄▀▄|REKLAMCI|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("REHBER")) then outputChatBox('|▀▄▀▄|REHBER|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) elseif isObjectInACLGroup("user." .. account, aclGetGroup("komser")) then outputChatBox('|▀▄▀▄|KOMSER|▄▀▄▀|'.. getPlayerName(source) .. ': #FFFFFF' .. _:gsub('#%x%x%x%x%x%x', ''), root, r, g, b, true) outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. _ ) endendaddEventHandler("onPlayerChat", root, chat_Tag)
kullandığın tag panel bana ait, gereken kodları yaptım buyur bakalım eğer başka bir hata çıkarsa resmi at banaLinki görebilmek için Kayıt olun yada Giriş yapın.Linki görebilmek için Kayıt olun yada Giriş yapın.