General > Off-Topic

Say (chat ) Sounds in Gmod 10

<< < (2/3) > >>

JamminR:
hahaha. Another syntax error I didn't even see before.
That /n at end of console command in the script should be \n
Again, edited Jay's post.
* JamminR sticks his tongue out at Jay for simple syntax errors.

JamminR:
Jay, Megiddo, any other Lua coders, in Jay's script, the text is returned.
Shouldn't that just be 'return'.
I thought returning anything at all would break other hooks for the same.
Or did Garry change that? Or am I misundertanding?

WW3D:
Ok, good deal, its working.   :)

This is great, thanks alot guys for the quick response!

I hesistate to ask, but what would it take to make a subset of the sound list only triggerable by admin?  That and the ability for players to toggle the sounds on and off would make for a complete solution.  Something to think about if you guys get bored one day.   ;D 

jay209015:

--- Quote ---* JamminR sticks his tongue out at Jay for simple syntax errors.
--- End quote ---
     - Did this during school :P

--- Quote ---Jay, Megiddo, any other Lua coders, in Jay's script, the text is returned.
Shouldn't that just be 'return'.
I thought returning anything at all would break other hooks for the same.
Or did Garry change that? Or am I misundertanding?
--- End quote ---
     - I just returned text, so that any other script will be able to continue reading it, but it may not be necessary to return at all.

--- Quote ---I hesistate to ask, but what would it take to make a subset of the sound list only triggerable by admin?  That and the ability for players to toggle the sounds on and off would make for a complete solution.  Something to think about if you guys get bored one day. 
--- End quote ---
     - No need to hesitate, you have a good idea, and I or another coder will work on it. Probably me if no-one has one done when I get off work.

JamminR:
Folks, before 'totally' re-inventing the wheel, may want to have a look at FacePunch lua releases.
http://forums.facepunchstudios.com/showthread.php?t=630682
*shudder* I know. It's FP. Still, some gifted talent actually hang out there.
They just get hidden by the masses.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version