Author Topic: deathsounds  (Read 5285 times)

Offline Bish

  • PENIS IN A BOX
  • Gold Member
  • *
  • Posts: 1,529
  • Awards [OCRP Award] Secret Phrase [OCRP Award] Social Player [OCRP Award] Comrades
    • View Profile
    • Awards
deathsounds
« on: August 08, 2014, 12:03:56 AM »
I have no clue on how to anymore... I was working on a gamemode for CG, I'm done.  It's not happening.  I thought I knew lua, but I was wrong.  SO FORGET IT.   

On another note... I want to change deathsounds to something else.  No wikis are helping... all are out of date.  Help please?
For The Social Republic Of The Soviet Union


Offline wakeboarderCWB

  • Gold Member
  • *
  • Posts: 2,486
  • Awards [OCRP Award] Social Player [OCRP Award] You Own The Mall [OCRP Award] Dedicated Player [OCRP Award] Millionaire
    • View Profile
    • Awards
Re: deathsounds
« Reply #1 on: August 08, 2014, 09:08:30 AM »
All wikis are out of date? I don't think so, this one is constantly updated and is the official one. http://wiki.garrysmod.com/?title=Main_Page

In this hook return false to disable the default sound, then in this hook you can play your custom sound.

As far as making a gamemode, if you're new don't go straight to gamemodes. Start off small with just simple scripts, maybe move up to addons. Get used to the language, because making a gamemode without much knowledge can cause severe instability.
« Last Edit: August 08, 2014, 09:18:59 AM by wakeboarderCWB »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal