• Disable left-click to respawn
    1 replies, posted
Title. Can't find anything on this.
[code]function GM:PlayerDeathThink( pl ) if ( pl.NextSpawnTime && pl.NextSpawnTime > CurTime() ) then return end if ( pl:IsBot() || pl:KeyPressed( IN_ATTACK ) || pl:KeyPressed( IN_ATTACK2 ) || pl:KeyPressed( IN_JUMP ) ) then pl:Spawn() end end[/code] From the base gamemode. Just hook it and return false.
Sorry, you need to Log In to post a reply to this thread.