cmd:test(playerid) { new msg[512]; format(msg,sizeof( msg ), " {FFFFFF}Stop\n\ {FFFFFF}Listen {00ff00}First Song | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Second Song | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Third Sond | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Fourth Song | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Fifth Sond | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Sixth Sond | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Seventh | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Eighth | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Ninth Sond | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Tenth Sond | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Eleventh Sond | Listen %i player(-s)\n\ {FFFFFF}Listen {00ff00}Twelfth Sond | Listen %i player(-s)", FirstRadio,SecondRadio,ThirdRadio,FourthRadio,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth,Eleventh,Twelfth); ShowPlayerDialog( playerid,1, DIALOG_STYLE_LIST, "Radio", msg, "Select", "Exit"); return 1; }
cmd:test(playerid)
{
new msg[512];
format(msg,sizeof( msg ), " {FFFFFF}Stop\n\
{FFFFFF}Listen {00ff00}First Song | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Second Song | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Third Sond | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Fourth Song | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Fifth Sond | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Sixth Sond | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Seventh | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Eighth | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Ninth Sond | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Tenth Sond | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Eleventh Sond | Listen %i player(-s)\n\
{FFFFFF}Listen {00ff00}Twelfth Sond | Listen %i player(-s)", FirstRadio,SecondRadio,ThirdRadio,\
FourthRadio,Fifth,Sixth,Seventh,\
Eighth,Ninth,Tenth,Eleventh,Twelfth);
ShowPlayerDialog( playerid,1, DIALOG_STYLE_LIST, "Radio", msg, "Select", "Exit");
return 1;
}
cmd:test(playerid)
{
static msg[1500];
msg[0] = EOS;
strcat(msg,"{FFFFFF}Stop\n");
strcat(msg,"{FFFFFF}Listen {00ff00}First Song | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Second Song | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Third Sond | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Fourth Song | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Fifth Sond | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Sixth Sond | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Seventh | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Eighth | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Ninth Sond | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Tenth Sond | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Eleventh Sond | Listen %i player(-s)\n");
strcat(msg,"{FFFFFF}Listen {00ff00}Twelfth Sond | Listen %i player(-s)\n");
format(msg,sizeof(msg),msg,FirstRadio,SecondRadio,ThirdRadio,FourthRadio,Fifth,Sixth,Seventh,Eighth,Ninth,Tenth,Eleventh,Twelfth);
ShowPlayerDialog( playerid,1, DIALOG_STYLE_LIST, "Radio", msg, "Select", "Exit");
return 1;
}
PHP код:
|