i have this anticham.scr
Code:
main:
if (getcvar("anticham") == "1") {
if (level.run_anticham != NIL)
end;
level.run_anticham = 1;
thread showChams;
}
end
showChams:
while (1) {
local.chams = makeArray
"textures/bad.tga"
"textures/blue_pants.tga"
"textures/blue_top.tga"
"textures/good.tga"
"textures/alpha.tga"
"textures/models/human/chamallies.tga"
"textures/cham_textures/siren_Axis.tga"
"textures/cham_textures/cham_health.tga"
"textures/models/weapons/p_masher/steilhangrenate2.tga"
"textures/models/human/alliesch.tga"
"textures/models/human/cm_allies.tga"
"textures/models/human/cm_axis.tga"
"textures/general_structure/test_2.tga"
"textures/cham/chamallies.tga"
"textures/cham/allies_torso.tga" //VaCtoR-Wall
"textures/hud/LS.tga"
"textures/window/window4_broken.tga"
"textures/trans/trans.tga"
"textures/cham/cdaxis.tga"
"textures/models/human/germanmaps/axis_hack.tga"
"textures/models/human/germanmaps/hack_pants.tga"
"textures/models/human/usmaps/BoB_allie_top.tga"
"textures/models/items/first_aid2.tga"
"textures/models/items/pulse_axis.tga"
"textures/models/human/allie.tga"
"textures/models/human/chamalliesn.tga"
"textures/models/items/alliegrenade.tga"
"textures/pics/You Found A Secret.tga"
"textures/pics/cory.tga"
"textures/pulseweapallies.tga"
"textures/wambot/blue.tga"
"textures/da-cham/blue.tga"
"textures/models/items/pulse1.tga"
"textures/BOP/cham/BOPallies.tga"
"textures/laser/blue.tga"
"textures/laser/green.tga"
"textures/menu/fYCcreationZ.tga"
"textures/effects/wambot.tga"
"textures/hud/nuttin.tga"
"textures/ACD/cham/ALLIANCE-FATBOYSallies.tga"
"textures/general_structure/door.tga"
"textures/menu/fYCchamZ.tga"
"textures/cham_textures/lange1_Allies.tga"
"textures/chxms/chxmnxdx1.tga"
"textures/AnimS/fYC_light_1.tga"
"textures/AnimS/fYC_slider_thumb_sel2.tga"
"textures/pmenu/pause.tga"
"textures/pmenu/pchxms.tga"
"textures/models/items/allieshow.tga"
"textures/models/human/axisch.tga"
"textures/models/items/axis_pulse.tga"
"textures/speed/loading.tga"
"textures/bgimg.tga"
"textures/general_structure/test_1.tga"
"textures/models/human/items/pulse_axi2.tga"
"textures/models/cham/pulse_allies.tga"
"textures/models/cham/pulse_allied5.tga"
"textures/models/cham/pulse_axis.tga"
"textures/models/human/HandViewdead.tga"
"textures/models/human/faces/green_face1.tga"
"textures/models/human/usmaps/insignia/green_corp.tga"
"textures/models/human/usmaps/marines/green_pantsgreen1.tga"
"textures/models/human/viewsleeves/sv_wermachtdead.tga"
"textures/sprites/hrpuffnstuff_german.tga"
"textures/models/human/head_allies.tga"
"textures/BOP/cham/BOPallies_pulse.tga"
"textures/models/items/1944_axis_hat.tga"
"textures/cham/axis_head.tga"
"textures/cham/cdaxis_pulse.tga"
"textures/cham/cdallies_pulse.tga"
"textures/models/human/chamalliesn.tga"
"textures/models/gear/german_gear/German_gear_neon.tga"
"textures/models/gear/german_gear/riflebelt_neon.tga"
"textures/models/items/pulse_alliesn.tga"
"textures/models/items/tracer_allied_hat.tga"
"textures/models/human/germanmaps/wehrmact/WPantsgreen_neon.tga"
"textures/models/human/germanmaps/axis_hack.tga"
"textures/pulsenadeallies.tga"
"textures/cham_textures/siren2_Axis.tga"
"textures/models/human/axis.tga"
"textures/models/items/allie_pulse.tga"
"textures/models/human/germanmaps/german_worker/woker_shirtd.tga"
"textures/general_structure/test_1.tga"
"textures/models/human/allie.tga"
"textures/cham_textures/lange_Allies.tga"
"textures/chxms/pulse_nade1.tga"
"textures/hardcore/hardcore.tga"
"textures/menu/achter.tga"
"textures/models/human/chamaxis1.tga"
"textures/models/items/allienade.tga"
"textures/pics/highlight.tga"
"textures/chams/chamallies_pulse3.tga"
"textures/chams/chamaxis_pulse.tga"
"textures/models/human/chamallie2.tga"
"textures/models/human/chamaxi2.tga"
"allied_chams"
"axis_chams"
"ACDallies"
"ACDaxis"
"bright_allies"
"bright_axis"
"weapon_chams"
endArray;
local.j = local.chams.size;
for (local.i = 1; local.i <= local.j; local.i++) {
local.v = (70 + local.i);
huddraw_virtualsize local.v 1;
huddraw_rect local.v 0 0 800 800;
huddraw_shader local.v local.chams[local.i][1];
huddraw_alpha local.v 1;
if (local.i % 5 == 0)
wait 0.5;
}
if ($player)
$player stufftext ("ui_hud 1");
wait 30;
}
end;
it uses an array for the textures so is easier to add new ones
seta anticham "1" in your server.cfg
but i have to warning you,
antichams are very easy to bypass, so don't expect to have a 'wallhacks free' server just by using this