02.12.2009, 11:20
i cant stop the music:
public OnPlayerRequestClass(playerid)
{
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0); // my selected music (1185)
return 1;
}
public OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0); // slap sound to stop the music (1190)
return 1;
}
but it still doesnt work! the music still keeps playing after i spawn! the slap sound played but the selecting class music didnt stop
public OnPlayerRequestClass(playerid)
{
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0); // my selected music (1185)
return 1;
}
public OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0); // slap sound to stop the music (1190)
return 1;
}
but it still doesnt work! the music still keeps playing after i spawn! the slap sound played but the selecting class music didnt stop