Your Filebase for Games like Return to Castle Wolfenstein , Enemy Territory and more ...
-- Anti wallhack -- edit by mAzak function et_InitGame( levelTime, randomSeed, restart ) maxclients = tonumber( et.trap_Cvar_Get( "sv_maxClients" ) ) myTime = 6000 end function et_RunFrame( levelTime ) if math.mod(levelTime, myTime) ~= 0 then return end for i = 0, (maxclients-1) do et.G_QueryClientCvar( i, "wl_wallhack" ) end end function et_CvarValue( clientNum, cvar, value ) if value == 1 then --[[ local nick = et.gentity_get(clientNum, "pers.netname") et.trap_SendConsoleCommand( et.EXEC_NOW, "m mAzak \"^8Gracz ^7" .. nick .. " ^8(ID: ^7" .. clientNum .. "^8) uzywa niedozwolonej komendy: ^7/" .. cvar .. " " .. value .. " \" \n" ) ]]-- if et.G_shrubbot_level( clientNum ) < 999 then -- High admin level et.trap_SendConsoleCommand( et.EXEC_NOW, "!ban " .. clientNum .. " \"autobanned - wallhack\"\n" ) end end end
File size: 0 MB