02.08.2014, 18:56
Here
Download foreach and in top of your gamemode #include <foreach>
pawn Код:
if(dialogid == DIALOG_MUSIC)
{
if(response)
{
foreach( new i : Player)
{
PlayAudioStreamForPlayer(playerid, inputtext);
SendClientMessage(playerid, -1, "new music is playing..");
}
}
else
{
HideMenuForPlayer(DIALOG_MUSIC, playerid);
}
}