Wow! I haven't seen this version of my sprint mod for about 10 years. I think I made this version for the "Battle for Europe" online game site in 2006 or maybe 2007. I can't remember, it was that long ago. I've made about 3 different and better versions since then.
Anyway, for this version of the mod, you have to edit maps\mp\gametypes\_sprint.gsc:
Code:
onPlayerKilled()
{
self endon("disconnect");
if( isBot( self ) )
return;
for(;;)
{
self waittill("killed_player");
self notify("kill_monitors");
thread CleanupKilled();
}
}
onPlayerSpawned()
{
self endon("disconnect");
if( isBot( self ) )
return;
for(;;)
{
self waittill("spawned_player");
self.is_Sprinting = false;
self.sprint_stamina = level.sprint_time;
self.old_position = self.origin;
self thread Monitor_Sprint();
}
}
isbot( player )
{
if( GetSubStr( player.name, 0, 3 ) == "bot" )
return( true );
return( false );
}
That's what Izno was saying - if a bot tries to enter the code, they are rejected.