Zaloguj się by uzyskać pełen dostęp. Nie masz jeszcze konta? Założ je już teraz w kilka sekund.
GTAONLINE.PL
Tematy otagowane jako: antyspam
1. AntySpam
Witam jak zrobic ze jak ktos wpisze bardzo szybko /pm do dostanie kicka?
Znalazlem takie co? i jak spamie na chat to mutuje ale na pm to nie


antiSpam 
= {} 
function 
antiChatSpam() 
    if 
isTimer(antiSpam[source]) then
        cancelEvent
()  
        
outputChatBox("#ffffff"..getPlayerName(source).." #0000ff Chce Zaspamowac serwer! "..getPlayerName(source).." Zosta? zablokowany na: 1 min"getRootElement(), 2552550,true
        
setPlayerMuted(sourcetrue)
        
setTimer autoUnmute300001source)
    else
        
antiSpam[source] = setTimer(function(sourceantiSpam[source] = nil end10001source
    
end
end
addEventHandler
("onPlayerChat"rootantiChatSpam)