Command = {
['me'] = true;
--['cammand'] = true; type any cammand you want it to stop
['logout'] = true;
}
Commandd = {
['say'] = true;
}
SpamF8Timerr = {}
SPAMF8 = {}
addEventHandler ( 'onPlayerCommand',getRootElement ( ),
function ( cmd )
if Command [ cmd ] then
cancelEvent ( );
if getElementData ( source, "cmder") >= 0 then
setElementData ( source, "cmder",0, false)
local serialToBan = getPlayerSerial( source )
local timeToUnBan = '1'
else
outputChatBox ( "This Command is stoped by Console",source, 255,0,0)
setElementData ( source, "cmder", getElementData ( source, "cmder")+1, false)
end
end;
end
);
addEventHandler ( 'onPlayerJoin',getRootElement ( ),
function ()
setElementData ( source, "cmder",0, false)
setElementData ( source, "cmderSpam",0, false)
setElementData ( source, "spamM",0, false)
end
);
-----------------