• Drowning system for all game modes?
    3 replies, posted
There used to be one on coderhire but it doesn't seem to be there any more. Looking to have something super basic that basically will kill a player after 5-10 seconds of being in water and ideally a message that says something like "You will die if you do not get back on land" or "You are in an illegal spot, please get out of the water." I had tried this: [url]http://www.garrysmod.org/downloads/?a=view&id=93967[/url] But it did not seem to work, made a sound like I was drowning but didn't actually do anything. Any help would be greatly appreciated!
[url]http://wiki.garrysmod.com/page/Entity/WaterLevel[/url] There's that to get you started.
Here's one I wrote: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/drowning.lua.html[/url] remove .html for .lua I haven't looked at it in a while; it should work though.
[QUOTE=Acecool;45216983]Here's one I wrote: [url]https://dl.dropboxusercontent.com/u/26074909/tutoring/drowning.lua.html[/url] remove .html for .lua I haven't looked at it in a while; it should work though.[/QUOTE] awesome, ill give it a try!
Sorry, you need to Log In to post a reply to this thread.