AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Bomb planting (https://forums.alliedmods.net/showthread.php?t=58088)

purple nurple 07-18-2007 18:54

Bomb planting
 
Hey
Is there a way to have a song play or something when the bomb is planted?
I've tried csx.
Code:

public bomb_planting(planter)
{
    set_hudmessage(0, 255, 0, -1.0, -1.0, 0, 6.0, 12.0)
    show_hudmessage(0, "Protect the bomb!")
    client_cmd(0,"mp3 stop")
    client_cmd(0,"mp3 play sound/uc/HL2_song20_submix0.mp3")
}

But when i plant the bomb nothing happens this is for a zombie mod that i have been making for me check it out.
CZ ip. 216.240.158.27:27015

purple nurple 07-19-2007 00:03

Re: Bomb planting
 
can anyone help me please?

Rolnaaba 07-19-2007 22:00

Re: Bomb planting
 
does this help? http://forums.alliedmods.net/showthread.php?t=40164


All times are GMT -4. The time now is 21:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.