14.04.2012, 11:19
how to define this ?
Код:
if(strcmp(cmd,"/radio", true) == 0)
{
ShowPlayerDialog(playerid, 102, DIALOG_STYLE_INPUT, "Radio System by GBLTeam","{FFFFFF}Write the {009BFF}URL{FFFFFF} from Radio Station:", "Okay", "Exit");
return 1;
}
Код:
if(dialogid == 102) //
{
if(response)
{
for(new i=0; i<250; i++)
{
if(IsPlayerConnected(i))
{
PlayAudioStreamForPlayer(i, inputtext);
}
}
}
}


