Any possibility to add sounds to the skins ?
Like
if model = picesofpoo
{
EmitSoundToClient(client, "music/poo.mp3");
}
else
{
dont play a new sound
}
also it will be perfect if you add something like
HookEvent("weapon_fire", eventWeaponFire);
HookEvent("hegrenade_detonate", eventHeDetonate);
public Action:eventWeaponFire(Handle:event, const String:name[], bool:dontBroadcast)
{ }
public Action:eventHeDetonate(Handle:event, const String:name[], bool:dontBroadcast)
{}
also like this but only a check wich model you used
also like this in combile with ours
Code:
import es
def load():
es.doblock('corelib/noisy_on')
download()
def unload():
es.doblock('corelib/noisy_off')
def download():
es.stringtable("downloadables", "sound/holy_grenade/throw1.wav")
es.stringtable("downloadables", "sound/holy_grenade/explode4.wav")
def weapon_fire(ev):
if ev["weapon"] == "hegrenade":
es.cexec_all("play holy_grenade/throw1.wav")
def es_map_start(ev):
download()
def hegrenade_detonate(ev):
es.cexec_all("play holy_grenade/explode4.wav")
i beg you for this