jlalt

Farzane

Apr 7th, 2016
207
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.52 KB | None | 0 0
  1. #include a_samp
  2. #include zcmd
  3.  
  4. #define FARZANE 1100
  5. CMD:radio(playerid,params[]) {
  6.    ShowPlayerDialog(playerid, FARZANE, DIALOG_STYLE_INPUT, "FARZANE!", "Farzane says put url link below bish", "Play", "Close");
  7.    return 1;
  8. }
  9. public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
  10.    switch(dialogid) {
  11.       case FARZANE: {
  12.         if(response) {
  13.           PlayAudioStreamForPlayer(playerid, inputtext);
  14.           SendClientMessage(playerid, -1,"Farzane Says: Enjoy The Song!");
  15.         }
  16.       }
  17.    }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment