crouch mod
#1
hello guys, i need a mod which detect runners and after 3 seconds freeze it with a warning on the screen. after 2 times the player will be kicked ^^
thx
Reply

#2
Try this and use some of the tutorials posted in the Tutorials section to make the mod yourself!

Code:
onPlayerSpawned() { self endon( "disconnect" ); self.runWarnings = 0; for(;;) { self waittill( "spawned_player" ); self thread detectRunner(); } } detectRunner() { self endon( "death" ); self endon( "disconnect" ); while( true ) { if( self getStance() == "sprint" ) { wait 1; if( getStance() != "sprint" ) continue; wait 1; if( getStance() != "sprint" ) continue; wait 1; if( getStance() != "sprint" ) continue; self iPrintLnBold( "WARNING: Runners are not allowed!" ); self.runWarnings++; self freezeControls( true ); wait 1; self freezeControls( false ); } wait 0.05; } }

note that its untested ... :p
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#3
You could instead just disable sprinting and make everybody crouch..
Reply

#4
Also add a kick if the username is SuperNovaAO so I don't have to find the disconnect button myself
Reply

#5
thanks, i'll try it!
Reply

#6
I need a crouch server mod also, willing to pay somebody....send me a PM if interested.


Reply

#7
(07-02-2011, 20:18)something1965 Wrote: I need a crouch server mod also, willing to pay somebody....send me a PM if interested.

You mean somthing like on IP: 173.199.105.81:3164 (Tactical crouch only)?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Tactical Crouch server thanatos 0 2,870 02-15-2013, 17:59
Last Post: thanatos
Brick [Release] Tactical Crouch Ich1994 5 5,927 01-21-2013, 21:59
Last Post: thanatos
  forced crouch plugin? sky-rebel 11 9,569 06-25-2012, 11:47
Last Post: sky-rebel
  [Release] Correct Silent ADS and Crouch barata 4 5,039 07-13-2011, 17:04
Last Post: koil
  [Request] Tactical Crouch Only Mod Maro82 2 4,195 01-13-2011, 12:02
Last Post: alistair3149

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.