20.12.2015, 13:06
Код:
if (dialogid == DIALOG_PLAYLIST) { if (GetPlayerSpecialAction(playerid) == SPECIAL_ACTION_CUFFED) return SendClientMessage2(playerid, COLOR_RED, "Error: You are cuffed!"); if (response) { StopAudioStreamForPlayer(playerid); new url[256]; format(url, sizeof(url), "song%d", listitem+1); format(url, sizeof(url), "%s", dini_Get(AddDirFile(dir_datafiles, FILE_SONG), url)); format(url, sizeof(url), "%s", url); PlayAudioStreamForPlayer(playerid, url); } return 1; }