(HELP) Problem with stop sound
#1

Hello, i wanna stop sound after drugs gone, but when i do like this how i doing it, is not play sound
pawn Код:
PlayerInfo[playerid][pDrugs] -= 1;
                    SetPlayerArmour(playerid, PlayersArmour + 20.0);
                    SetPlayerWeather(playerid, -68);
                    PlayerPlaySound(playerid, 1076, 0.0, 0.0, 0.0); // start sound
                    UsingDrugs[playerid] = 1;
                    SetTimerEx("DrugEffectGone", 150000, false, "i", playerid)
                    PlayerPlaySound(playerid, 1077, 0.0, 0.0, 0.0); // stop sound
                     GetPlayerName(playerid, sendername, sizeof(sendername));
                    format(string, sizeof(string), "* %s takes some weed from his jacket and starts smoking.", sendername);
                    ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                    PlayerPlaySound(playerid, 1077, 0.0, 0.0, 0.0);
Help please, if i do like this, sounds isn't start play
Reply


Messages In This Thread
(HELP) Problem with stop sound - by spaty2 - 18.07.2011, 16:52
Re: (HELP) Problem with stop sound - by spaty2 - 18.07.2011, 17:12

Forum Jump:


Users browsing this thread: 1 Guest(s)