Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Silent Suicide

A Config Script for Garry's Mod

No ads for members. Membership is 100% free. Sign up!
22 471 bytes Raw Code
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
local function VNTKillSilent( ply )

    if IsValid( ply ) and ply:Alive( ) and ply:IsPlayer( ) then

        if ConVarExists( "vnt_suicide_disabled" ) and GetConVarNumber( "vnt_suicide_disabled" ) == 1 then -- If you have my content base, add this cvar as an option.

            ply:ChatPrint( "Sorry, suiciding is currently disabled!" )

            return false

        else

            ply:KillSilent( )

            return false

        end

    end

end
concommand.Add( "killsilent" , VNTKillSilent )

Updates

Update 1 15d
  • Improvement Added validity checks
  • Tweak Changed command from ninjadeath to killsilent

Silent Suicide to Avoid Breaking Immersion

Allows you to 'ninja' suicide to avoid breaking immersion, or alerting the server that you've suicided.

Uses for this include RP when you're changing player models/characters, being sneaky and trying to get the drop on people, or other such things.

Use the console command 'killsilent' to activate it.
Sign up to access this!

No comments yet

Embed

Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Credits

Author
Reverend V92 avatar
Reverend V92 username pic Joined 10y ago
HL2 Manager
Offline
16,937 points Ranked 327th
33 medals 1 legendary 6 rare
  • 2019 Top Contributor Medal icon
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
Scripter

Submitter

Reverend V92 avatar
Reverend V92 username pic Joined 10y ago
HL2 Manager
Away
16,937 points Ranked 327th
33 medals 1 legendary 6 rare
  • 2019 Top Contributor Medal icon
  • 2nd Place - A Bananite's Guide to... Contest Medal icon
  • 6 years a member Medal icon
  • Returned 1000 times Medal icon
  • Received thanks 50 times Medal icon
  • 10 submissions featured Medal icon
Reverend V92 avatar
Reverend V92

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

License

Attributes

Language
Lua

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • 1
  • 6.5k
  • 1
  • 5y
  • 15d
  • 15d

More from Submitter

WiPs by Submitter

More Other/Misc Scripts