06.07.2013, 15:20
Hello
I was make command but it isn't working
Sorry, my bad English
Please help me
I was make command but it isn't working
Sorry, my bad English
Код:
if(strcmp(cmd, "/monhac", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 3) { ShowPlayerDialog(playerid, 50, DIALOG_STYLE_INPUT, "Dien link download nhac vao o duoi", "Dien link download vao ф o day", "Ok", "Huy bo"); return 1; } } return 1; }
Код:
if(dialogid == 50) { if(response) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { StopAudioStreamForPlayer(i); PlayAudioStreamForPlayer(i, inputtext); } } } }