Catalyst Gaming
General => Support & Help => Topic started by: Bish 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?
-
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 (http://wiki.garrysmod.com/page/GM/PlayerDeathSound) hook return false to disable the default sound, then in this (http://wiki.garrysmod.com/page/GM/PlayerDeath) 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.