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.