Jump to content

hex code مشكلة


Recommended Posts

Posted

السلام عليكم

عندي مشكلة في hex code

لما اشغل freeroam

hex code ما يشتغل

ولما اطفي freeroam

واجي اكتب مثلا في شات

/00ff00 TEST

بشتغل

ايش المشكلة؟؟؟ :cry:

Posted
وعليكم السلام

وش تقصد بـ المشكلة بالشات او وين بالضبطط ذذ

#

لما freeroam

يكون شغال واجي اكتب في شات مع تلوين

ماااا يتلون!!!

ولما اطفي فريروم واكتب في شات مع تلوين

بجي!!!!!!!

يعني الـ freeroam

يعطل hex

Posted

شيل الكود هذا سطر 400 من fr_server :

  
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("Stop spamming main chat!", source, 255, 0, 0) 
                return 
            else 
                chatTime[source] = getTickCount() 
            end 
            if get("*chat/blockRepeatMessages") == "true" and lastChatMessage[source] and lastChatMessage[source] == msg then 
                outputChatBox("Stop repeating yourself!", source, 255, 0, 0) 
                return 
            else 
                lastChatMessage[source] = msg 
            end 
            local r, g, b = getPlayerNametagColor(source) 
            outputChatBox(getPlayerName(source) .. ': #FFFFFF' .. msg:gsub('#%x%x%x%x%x%x', ''), g_Root, r, g, b, true) 
            outputServerLog( "CHAT: " .. getPlayerName(source) .. ": " .. msg ) 
        end 
    end 
) 

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...