Jump to content
  • 0

pomoc [ Pomoc ] Radio


Anonimus24

Dotaz

Dobrý den chtěl jsem se zeptat jak mám udělat stímto dialogem radio!
 
dcmd_radio(playerid, params[])
{
#pragma unused params
new ch[20][134], BigStr1[1044];
format(ch[1], 134, "Evropa 2/t ( Posluchačů: %s )");
format(ch[2], 134, "Frekvence 1/t ( Posluchačů: %s )");
format(ch[3], 134, "Beat/t ( Posluchačů: %s )");
format(ch[4], 134, "Impuls/t ( Posluchačů: %s )");
format(ch[5], 134, "Fun Radio/t ( Posluchačů: %s )");
format(ch[6], 134, "Expres/t ( Posluchačů: %s )");
format(ch[7], 134, "Kiss Jižní Čechy/t ( Posluchačů: %s )")
format(ch[8], 134, "GreatRadio/t ( Posluchačů: %s )");
format(ch[9], 134, "Evropa 2/t ( Posluchačů: %s )");
format(ch[10], 134, "{FF0000}Vypnout rádio");
format(BigStr1, 1044, "%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s\n%s", ch[0], ch[1], ch[2], ch[3], ch[4], ch[5], ch[6], ch[7], ch[8], ch[9], ch[10]);
ShowPlayerDialog(playerid, 541, DIALOG_STYLE_TABLIST_HEADERS, "Radio","Rádió\tPosluchačů\n\","BigStr1",","Vybrat","Cancel");
return 1;
}

Link to comment
Share on other sites

2 odpovědí na tuto otázku

Recommended Posts

  • 0

Odkud to máš proboha...

 

Tohle je trochu lepší nemyslíš?

 

 

new radioListeners[10];

 

dcmd_radio(playerid, params[])
{
#pragma unused params
new BigStr1[500];

format(BigStr1, sizeof(BigStr1), "Rádió\tPosluchačů\n",BigStr1);
format(BigStr1, sizeof(BigStr1), "%sEvropa 2/t ( Posluchačů: %d )\n",BigStr1,radioListeners[0]);

format(BigStr1, sizeof(BigStr1), "%sFrekvence 1/t ( Posluchačů: %d )\n",BigStr1,radioListeners[1]);

format(BigStr1, sizeof(BigStr1), "%sBeat/t ( Posluchačů: %d )\n",BigStr1,radioListeners[2]);

format(BigStr1, sizeof(BigStr1), "%sImpuls/t ( Posluchačů: %d )\n",BigStr1,radioListeners[3]);

format(BigStr1, sizeof(BigStr1), "%sFun Radio/t ( Posluchačů: %d )\n",BigStr1,radioListeners[4]);

format(BigStr1, sizeof(BigStr1), "%sExpres/t ( Posluchačů: %d )\n",BigStr1,radioListeners[5]);

format(BigStr1, sizeof(BigStr1), "%sKiss Jižní Čechy/t ( Posluchačů: %d )\n",BigStr1,radioListeners[6])

format(BigStr1, sizeof(BigStr1), "%sGreatRadio/t ( Posluchačů: %d )\n",BigStr1,radioListeners[7]);

format(BigStr1, sizeof(BigStr1), "%sEvropa 2/t ( Posluchačů: %d )\n",BigStr1,radioListeners[8]);

format(BigStr1, sizeof(BigStr1), "%s{FF0000}Vypnout rádio",BigStr1);

ShowPlayerDialog(playerid, 541, DIALOG_STYLE_TABLIST_HEADERS, "Radio",BigStr1,"Vybrat","Cancel");
return 1;
}

 

 

Edited by Matess
Link to comment
Share on other sites

  • 0

Dík


Když dám to co ai tam dal ty

 

C:\Users\Jituška\Desktop\Anonimus24\Anonimus24\Sa-MP sever\gamemodes\Untitled.pwn(22011) : error 017: undefined symbol "radioListeners"
C:\Users\Jituška\Desktop\Anonimus24\Anonimus24\Sa-MP sever\gamemodes\Untitled.pwn(22011) : warning 215: expression has no effect
C:\Users\Jituška\Desktop\Anonimus24\Anonimus24\Sa-MP sever\gamemodes\Untitled.pwn(22011) : error 001: expected token: ";", but found "]"
C:\Users\Jituška\Desktop\Anonimus24\Anonimus24\Sa-MP sever\gamemodes\Untitled.pwn(22011) : error 029: invalid expression, assumed zero
C:\Users\Jituška\Desktop\Anonimus24\Anonimus24\Sa-MP sever\gamemodes\Untitled.pwn(22011) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664     Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...