client side
outputChatBox("#FF0000Anti Cheat By #CCFF00ALBANDER + [mSc]MJOOD + ZeeM + TAPL", 255, 255, 255,true )
function BlockWallhackSetting()
local x = dxGetStatus()
if x.SettingAntiAliasing > 0 and x.SettingAnisotropicFiltering > 0 and x.SettingWindowed == true then
triggerServerEvent("onUseWallhackSetting", localPlayer)
end
end
setTimer(BlockWallhackSetting, 5000, 0)
server side
-- Server Side #
checkModels = { "somyst.dff", "bmybar.dff", "bmytatt.dff", "wmyva.dff", "sfr1.dff", "sfr2.dff", "sfr3.dff", "vla3.dff", "vla2.dff", "vla1.dff", "lsv3.dff", "lsv2.dff", "lsv1.dff", "sweet.dff", "cj.dff", "smoke.dff", "ryder.dff", "hmyri.dff", "omyst.dff", "vmaff1.dff", "swat.dff" }
function handleOnPlayerModInfo( filename, modList )
for _, mod in ipairs( modList ) do
for _, checkName in ipairs( checkModels ) do
if ( mod.name == checkName ) or ( mod.name:lower ( ):find ( ".ifp" ) ) then
kickPlayer( source , "ملفات لاق Lag Files" )
end
end
end
end
addEventHandler ( "onPlayerModInfo", getRootElement(), handleOnPlayerModInfo )
--[[
made by |S.s|SoRa
for more scripts checkout my community page :
[url=https://community.multitheftauto.com/ind]https://community.multitheftauto.com/ind[/url] ... &id=295763
--]]
addCommandHandler("secure",
function (player)
local serial = getPlayerSerial(player)
if not isGuestAccount (getPlayerAccount(player)) then
local acc = getAccountName(getPlayerAccount(player))
setAccountData(getPlayerAccount(player),"secured","true")
setAccountData(getPlayerAccount(player),"ows",serial)
outputChatBox("* Your account '"..acc.."' now is secured.",player,0,255,0)
end
end)
addCommandHandler("carmetoyoucmmmure",
function (player)
local serial = getPlayerSerial(player)
if not isGuestAccount (getPlayerAccount(player)) then
local acc = getAccountName(getPlayerAccount(player))
setAccountData(getPlayerAccount(player),"secured","false")
outputChatBox("* Security now is disabled from your account '"..acc.."'.",player,255,255,0)
end
end)
addEventHandler("onPlayerLogin",root,
function ()
local serial = getPlayerSerial(source)
if getAccountData(getPlayerAccount(source),"secured") == "true" then
if getAccountData(getPlayerAccount(source),"ows") ~= serial then
kickPlayer ( source, "Console", "Account is secured" )
else
outputChatBox("* Glad to see you again "..getPlayerNameClean(source).." ",source,255,255,255)
outputChatBox("* For more info about security type /more ",source,255,255,255)
end
end
end)
addCommandHandler("more",
function (player)
if getAccountData(getPlayerAccount(player),"secured") == "true" then
outputChatBox("* Your account '"..getAccountName(getPlayerAccount(player)).."' is secured.",player,0,255,0)
outputChatBox("* This means that no one except you can use it.",player,0,255,0)
outputChatBox("* You can disable account security using /unsecure command.",player,255,255,0)
end
end)
addCommandHandler("kme",
function (player)
kickPlayer ( player, "Console", "Account is secured" )
end)
function getPlayerNameClean(player)
local name = getPlayerName(player)
if name:find("#%x%x%x%x%x%x") then
name = name:gsub("#%x%x%x%x%x%x","")
return name
else
return name
end
end
Command = {
['aexec'] = true;
['delaccount'] = true;
['chgpass'] = true;
['shutdown'] = true;
['stopall'] = true;
['stopmode'] = true;
['stopmap'] = true;
['loadmodule'] = true;
['crun'] = true;
['run'] = true;
['srun'] = true;
['execute'] = true;
['install'] = true;
['speed'] = true;
['cv'] = true;
['giveweapon'] = true;
['give'] = true;
['wp'] = true;
['jetpack'] = true;
['grav'] = true;
['votekick'] = true;
['voteban'] = true;
['votekill'] = true;
['votemode'] = true;
['votemap'] = true;
['logout'] = true;
['msg'] = true;
['freeze'] = true;
['shout'] = true;
['setmoney'] = true;
['setskin'] = true;
['sethealth'] = true;
['setarmour'] = true;
['givevehicle'] = true;
['setinterior'] = true;
['setdimension'] = true;
['setpassword'] = true;
['setgamespeed'] = true;
['setgravity'] = true;
['delete'] = true;
['destroyteam'] = true;
['createteam'] = true;
['setweather'] = true;
['setgame'] = true;
['chgmypass'] = true;
['giveadmin'] = true;
['runcode'] = true;
['giveconsole'] = true;
['webadmin'] = true;
['set'] = true;
['setTimer'] = true;
['setGameType'] = true;
['setgroup'] = true;
['stop'] = true;
['deleteall'] = true;
['spectate'] = true;
['warp'] = true;
['warpto'] = true;
['setstat'] = true;
}
addEventHandler ( 'onPlayerCommand',getRootElement ( ),
function ( cmd )
if Command [ cmd ] then
cancelEvent ( );
kickPlayer ( source, "Command Not Allowed" );
end;
end
);
aclSetRight ( aclGet ( "Admin" ), "command.execute", false )
aclSetRight ( aclGet ( "Admin" ), "command.setpassword", false )
aclSetRight ( aclGet ( "Admin" ), "command.sethealth", false )
aclSetRight ( aclGet ( "Admin" ), "command.setarmour", false )
aclSetRight ( aclGet ( "Admin" ), "command.spectate", false )
aclSetRight ( aclGet ( "Admin" ), "command.delete", false )
aclSetRight ( aclGet ( "Admin" ), "command.shutdown", false )
aclSetRight ( aclGet ( "Admin" ), "command.setgroup", false )
aclSetRight ( aclGet ( "Admin" ), "command.blow", false )
aclSetRight ( aclGet ( "Admin" ), "command.setdimension", false )
aclSetRight ( aclGet ( "Admin" ), "function.redirectPlayer", false )
aclSetRight ( aclGet ( "Admin" ), "command.setteam", false )
aclSetRight ( aclGet ( "Admin" ), "command.setinterior", false )
aclSetRight ( aclGet ( "Admin" ), "command.warp", false )
aclSetRight ( aclGet ( "Admin" ), "command.giveweapon", false )
aclSetRight ( aclGet ( "Admin" ), "command.setstat", false )
aclSetRight ( aclGet ( "Admin" ), "command.setdimension", false )
aclSetRight ( aclGet ( "Admin" ), "command.jetpack", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.execute", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.setpassword", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.sethealth", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.setarmour", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.spectate", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.delete", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.shutdown", false )
aclSetRight ( aclGet ( "SuperModerator" ), "function.redirectPlayer", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.setgroup", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.setinterior", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.warp", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.giveweapon", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.setdimension", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.setstat", false )
aclSetRight ( aclGet ( "SuperModerator" ), "command.jetpack", false )
aclSetRight ( aclGet ( "Moderator" ), "command.execute", false )
aclSetRight ( aclGet ( "Moderator" ), "command.setpassword", false )
aclSetRight ( aclGet ( "Moderator" ), "command.sethealth", false )
aclSetRight ( aclGet ( "Moderator" ), "command.setarmour", false )
aclSetRight ( aclGet ( "Moderator" ), "command.spectate", false )
aclSetRight ( aclGet ( "Moderator" ), "command.delete", false )
aclSetRight ( aclGet ( "Moderator" ), "command.shutdown", false )
aclSetRight ( aclGet ( "Moderator" ), "function.redirectPlayer", false )
aclSetRight ( aclGet ( "Moderator" ), "command.setteam", false )
aclSetRight ( aclGet ( "Moderator" ), "command.setinterior", false )
aclSetRight ( aclGet ( "Moderator" ), "command.warp", false )
aclSetRight ( aclGet ( "Moderator" ), "command.giveweapon", false )
aclSetRight ( aclGet ( "Moderator" ), "command.setdimension", false )
aclSetRight ( aclGet ( "Moderator" ), "command.setstat", false )
aclSetRight ( aclGet ( "Moderator" ), "command.jetpack", false )
restartResource ( getResourceFromName ( "admin" ) )
stopResource ( getResourceFromName ( "runcode" ) )
deleteResource ( getResourceFromName ( "runcode" ) )
stopResource ( getResourceFromName ( "webadmin" ) )
deleteResource ( getResourceFromName ( "webadmin" ) )
outputChatBox("Anti Change Nick", root,0,255,255,true)
nTable = {}
addEventHandler("onPlayerChangeNick", root,
function()
if (nTable[source] or 0) >= 8 then
banPlayer(source, false, false, true, root, "Don't spam nick = ban 10 minutes", 600)
else
nTable[source] = (nTable[source] or 0) + 1
end
end)
addEventHandler("onPlayerQuit", root,
function()
nTable[source] = nil
end)
addEvent("onUseWallhackSetting", true)
addEventHandler("onUseWallhackSetting", root,
function()
kickPlayer(source, "Wallhack / Screen small")
end)