Jump to content

[help] animation text


Resulcan

Recommended Posts

 

---------------------------------------------------------------------------------------------------------------------------------------

outputChatBox                                                 How can I download the article from top to bottom

 

antiSpam = {} 
function antiChatSpam() 
    if isTimer(antiSpam[source]) then
        cancelEvent()  
        outputChatBox("#ffffff"..getPlayerName(source).." #ff0000 1 DAKIKA KONUSAMAZSINIZ [Sebep:Flood] - #f5f5f5x1!", getRootElement(), 255, 255, 0,true) 
        setPlayerMuted(source, true)
        setTimer ( autoUnmute, 60000, 1, source)
    else
        antiSpam[source] = setTimer(function(source) antiSpam[source] = nil end, 1000, 1, source) 
    end
end
addEventHandler("onPlayerChat", root, antiChatSpam)


function autoUnmute ( player )
    if ( isElement ( player ) and isPlayerMuted ( player ) ) then
        setPlayerMuted ( player, false )
        outputChatBox ("#FFFFFF"..getPlayerName ( player ).." #bbfa00 Artik Konusabilirsin Ve SAKIN FLOOD YAPMA #f5f5f5[Flood Yapma]",getRootElement(), 255, 255, 0,true )
    end
end

Link to comment

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...