Blockland Forums > Modification Help

Game connection sounds

Pages: (1/3) > >>

Penguin/Person:

Hi, I was just wondering if it's possible to play a sound when you join?

I already know that I can make it so there's a message when I join someone server, like \c6 Penguin/Person has become Admin (Auto)

but I don't know how to make everyone hear a sound when I join. Is it possible?



(btw I'm very new to scripting, so please don't bag down on me with insults if this is kind of a nooby question.)

lilboarder32:

If you're trying to get everyone to hear the admin sound, use:
messageAll('MsgAdminForce',"\c2"@ %name @" has become admin. (Auto)");

'MsgAdminForce' is case sensitive and you can change the message string to whatever.

Penguin/Person:

Do I have to be admin on a server to use that command?

Chrono:

Only if you're host, or making a server-sided add-on. (Which you have to host to use, or have someone else host and use)

This is not possible on the client side.

Penguin/Person:

But, what IS possible, (I've seen it before) is to say something when you join, for example this one guy joined my server once, and RIGHT when he connected, he said hi to everyone on the server. It was like:

This One Guy connected
This One Guy: Hi Penguin/Person!
This One Guy: Hi Chrono!
This One Guy: Hi lilboarder32!

All at once right when he joined.
What code did he use?

Pages: (1/3) > >>

Go to full version