(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
#2

SOLVED
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)