User:Phenomenon: Difference between revisions

From WolfWiki
Jump to navigation Jump to search
Line 4: Line 4:


== ''lua script - <font color=red>playsoundcmd.lua</font>'' ==
== ''lua script - <font color=red>playsoundcmd.lua</font>'' ==
===== Description =====


Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy's playsound.lua] with the difference that you can play a sound to only one client.
Makes the same as [http://wolfwiki.anime.net/index.php/User:RoadKillPuppy RoadKillPuppy's playsound.lua] with the difference that you can play a sound to only one client.
This script


===== Requirements =====
===== Requirements =====
Line 24: Line 28:


*Restart your server
*Restart your server
===== Usage =====
''playsound_env [sound]'' will play sound for all clients
''playsound [name/slot#] [sound]'' will play sound for that client only
''playsound_env [name/slot#] [sound]'' will play sound for that client and surrounding players only<br>

Revision as of 20:28, 25 July 2006

personal profile

personal bla bla later ...

lua script - playsoundcmd.lua

Description

Makes the same as RoadKillPuppy's playsound.lua with the difference that you can play a sound to only one client.

This script

Requirements
Installation
  • Add the following command to your server.cfg to call the script on server start
set lua_modules "playsoundcmd.lua"
  • Restart your server
Usage

playsound_env [sound] will play sound for all clients playsound [name/slot#] [sound] will play sound for that client only playsound_env [name/slot#] [sound] will play sound for that client and surrounding players only