User:Phenomenon

From WolfWiki
Jump to navigation Jump to search

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
Wolfenstein - Enemy Territory (patched to v2.60b) - splashdamage.com
ET Pro 3.2.6 or higher - etpro.anime.net
Installation
Download the LUA script playsoundcmd.lua to your etpro folder
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 [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