/musiclist command.
#5

Quote:
Originally Posted by Translator
Посмотреть сообщение
You could try this, i'm not sure if you want it like this but you can use dialogs too;

pawn Код:
CMD:music(playerid, params[])
    {
       new
       input[32];
       if(sscanf(params,"s[32]",input)) return SendClientMessage(playerid,COLOR_GREY,"USAGE: /music [House / Country / Rap / Other]");
       if(strcmp(input,"house",true) == 0)
    {
       SendClientMessage(playerid, COLOR_GREY, "You're now listening to house music.");
       return 1;
    }
       if(strcmp(input,"country",true) == 0)
    {
    SendClientMessage(playerid, COLOR_GREY, "You're now listening to country music.");
    }
       return 1;
    }
That's sort of how i wanted to do it, only i'm going to send a client message with a list of songs for them to /play.


I can edit this though and make it fit.


Thanks broski.
Reply


Messages In This Thread
/musiclist command. - by ESGaming - 24.05.2013, 00:33
Re: /musiclist command. - by Hoborific - 24.05.2013, 00:40
Re: /musiclist command. - by ESGaming - 24.05.2013, 00:42
Re: /musiclist command. - by Translator - 24.05.2013, 00:45
Re: /musiclist command. - by ESGaming - 24.05.2013, 00:49

Forum Jump:


Users browsing this thread: 3 Guest(s)