Tip: FilterscriptSlike ili Video: https://prnt.sc/qv3x04
Opis i dodatne informacije: Nasao sam malo slobodnog vremena pa napravio Mp3 u textdrawu, moglo je bolje sto se tice Textdrawa ali eto valjda neko htjedne ovo.Uglavnom, pokrecete neki radio tako sto imate pored radio kao neku strelicu i tu strelicu kliknete i pokrene vam se radio koji vi zelite, postavio sam tajmer da svakih 5. sekundi moze se mijenjat radio, i ako zelite ugasiti muziku ukucajte /mp3off a ako zelite prikazati dialog ukucajte /mp3. Da zatvorite dialog u desnom uglu imate X i to stisnete i svi vam se dialozi pogase to jest nestanu.
Download link:
Ovo na vrh skripte dodajte [pawn]new PlayerText:TDEditor_PTD[MAX_PLAYERS][24]; new MpTimer[MAX_PLAYERS];[/pawn]
Ovaj stock dodajte gdje su vam ostali stock
[pawn]stock KreirajMP3(playerid)
{
TDEditor_PTD[playerid][0] = CreatePlayerTextDraw(playerid, 155.000000, 109.062500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][0], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][0], 325.000000, 233.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][0], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][0], 65535);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][0], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][0], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][0], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][0], 0);
TDEditor_PTD[playerid][1] = CreatePlayerTextDraw(playerid, 153.500000, 122.625000, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][1], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][1], 327.000000, -4.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][1], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][1], 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][1], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][1], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][1], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][1], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][1], 0);
TDEditor_PTD[playerid][2] = CreatePlayerTextDraw(playerid, 360.500000, 109.062500, "MP3 PLAYER");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][2], 0.334500, 1.053125);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][2], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][2], -2147450625);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][2], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][2], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][2], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][2], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][2], 0);
TDEditor_PTD[playerid][3] = CreatePlayerTextDraw(playerid, 234.000000, 140.562500, "COOL RADIO");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][3], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][3], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][3], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][3], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][3], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][3], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][3], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][3], 0);
TDEditor_PTD[playerid][4] = CreatePlayerTextDraw(playerid, 229.500000, 177.750000, "PINK RADIO");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][4], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][4], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][4], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][4], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][4], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][4], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][4], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][4], 0);
TDEditor_PTD[playerid][5] = CreatePlayerTextDraw(playerid, 235.500000, 215.413970, "NARODNI FM");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][5], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][5], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][5], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][5], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][5], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][5], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][5], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][5], 0);
TDEditor_PTD[playerid][6] = CreatePlayerTextDraw(playerid, 237.500000, 253.038970, "JUZNI VETAR");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][6], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][6], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][6], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][6], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][6], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][6], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][6], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][6], 0);
TDEditor_PTD[playerid][7] = CreatePlayerTextDraw(playerid, 155.000000, 272.250000, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][7], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][7], 325.000000, 72.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][7], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][7], -2139094785);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][7], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][7], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][7], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][7], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][7], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][7], 0);
TDEditor_PTD[playerid][8] = CreatePlayerTextDraw(playerid, 418.000000, 140.575561, "RADIO ANTENA");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][8], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][8], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][8], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][8], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][8], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][8], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][8], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][8], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][8], 0);
TDEditor_PTD[playerid][9] = CreatePlayerTextDraw(playerid, 386.000000, 174.700561, "RADIO OK");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][9], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][9], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][9], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][9], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][9], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][9], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][9], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][9], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][9], 0);
TDEditor_PTD[playerid][10] = CreatePlayerTextDraw(playerid, 398.000000, 211.013061, "RADIO NAXI");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][10], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][10], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][10], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][10], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][10], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][10], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][10], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][10], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][10], 0);
TDEditor_PTD[playerid][11] = CreatePlayerTextDraw(playerid, 388.500000, 252.575561, "RADIO TDI");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][11], 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][11], 3);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][11], 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][11], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][11], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][11], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][11], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][11], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][11], 0);
TDEditor_PTD[playerid][12] = CreatePlayerTextDraw(playerid, 247.000000, 127.875000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][12], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][12], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][12], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][12], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][12], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][12], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][12], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][12], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][12], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][12], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][12], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][12], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][12], true);
TDEditor_PTD[playerid][13] = CreatePlayerTextDraw(playerid, 238.500000, 120.875000, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][13], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][13], 5.000000, 225.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][13], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][13], 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][13], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][13], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][13], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][13], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][13], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][13], 0);
TDEditor_PTD[playerid][14] = CreatePlayerTextDraw(playerid, 321.000000, 120.437500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][14], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][14], 4.000000, 228.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][14], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][14], 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][14], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][14], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][14], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][14], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][14], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][14], 0);
TDEditor_PTD[playerid][15] = CreatePlayerTextDraw(playerid, 422.000000, 121.312500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][15], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][15], 4.000000, 220.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][15], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][15], 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][15], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][15], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][15], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][15], 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][15], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][15], 0);
TDEditor_PTD[playerid][16] = CreatePlayerTextDraw(playerid, 430.500000, 200.500000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][16], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][16], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][16], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][16], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][16], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][16], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][16], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][16], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][16], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][16], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][16], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][16], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][16], true);
TDEditor_PTD[playerid][17] = CreatePlayerTextDraw(playerid, 430.000000, 164.625000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][17], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][17], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][17], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][17], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][17], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][17], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][17], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][17], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][17], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][17], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][17], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][17], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][17], true);
TDEditor_PTD[playerid][18] = CreatePlayerTextDraw(playerid, 430.500000, 129.625000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][18], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][18], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][18], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][18], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][18], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][18], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][18], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][18], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][18], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][18], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][18], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][18], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][18], true);
TDEditor_PTD[playerid][19] = CreatePlayerTextDraw(playerid, 248.500000, 237.250000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][19], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][19], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][19], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][19], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][19], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][19], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][19], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][19], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][19], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][19], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][19], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][19], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][19], true);
TDEditor_PTD[playerid][20] = CreatePlayerTextDraw(playerid, 430.500000, 241.187500, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][20], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][20], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][20], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][20], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][20], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][20], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][20], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][20], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][20], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][20], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][20], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][20], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][20], true);
TDEditor_PTD[playerid][21] = CreatePlayerTextDraw(playerid, 247.000000, 165.500000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][21], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][21], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][21], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][21], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][21], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][21], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][21], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][21], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][21], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][21], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][21], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][21], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][21], true);
TDEditor_PTD[playerid][22] = CreatePlayerTextDraw(playerid, 247.500000, 202.250000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][22], 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD[playerid][22], 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][22], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][22], -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][22], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][22], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][22], 0);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][22], 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][22], 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][22], 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD[playerid][22], 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD[playerid][22], 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][22], true);
TDEditor_PTD[playerid][23] = CreatePlayerTextDraw(playerid, 467.500000, 106.000000, "x");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD[playerid][23], 0.400000, 1.600000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD[playerid][23], 1);
PlayerTextDrawColor(playerid, TDEditor_PTD[playerid][23], -16776961);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][23], 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD[playerid][23], 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD[playerid][23], 255);
PlayerTextDrawFont(playerid, TDEditor_PTD[playerid][23], 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD[playerid][23], 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD[playerid][23], 0);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD[playerid][23], true);
return 1;
}[/pawn]
Ovo dodajte u onplayerconnect [pawn]KreirajMP3(playerid);[/pawn]
Ovo dodajte u OnPlayerKeyStateChange(playerid, newkeys, oldkeys) [pawn] if(newkeys == KEY_SUBMISSION)
{
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][12]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][16]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][17]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][18]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][19]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][20]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][21]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][22]);
PlayerTextDrawShow(playerid, TDEditor_PTD[playerid][23]);
SelectTextDraw(playerid, COLOR_RED);
}[/pawn]
Ovo dodajte u OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid) [pawn]if(playertextid == TDEditor_PTD[playerid][12])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://live.coolradio.rs/cool128");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][16])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://naxi128.streaming.rs:9150/");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][17])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://live.okradio.net:8000/");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][18])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://94.23.38.225:7005/");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][19])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://62.75.216.99:8000/;*.mp3");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][20])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://streaming.tdiradio.com:8000/tdiradio.mp3");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][21])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://pink.exyuserver.com/");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][22])
{
if(gettime() < MpTimer[playerid]) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
MpTimer[playerid] = gettime() + 5;
StopAudioStreamForPlayer(playerid);
PlayAudioStreamForPlayer(playerid, "http://195.252.68.166:8036/");
return 1;
}
if(playertextid == TDEditor_PTD[playerid][23])
{
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][0]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][1]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][2]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][3]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][4]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][5]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][5]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][6]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][7]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][8]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][9]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][10]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][11]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][12]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][13]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][14]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][15]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][16]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][17]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][18]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][19]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][20]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][21]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][22]);
PlayerTextDrawHide(playerid,TDEditor_PTD[playerid][23]);
CancelSelectTextDraw(playerid);
return 1;
}[/pawn]
Ove 2. komande dodajte gdje su vam ostale komande
[pawn]YCMD:mp3(playerid,params[],help)
{
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][0]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][1]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][2]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][3]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][4]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][5]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][5]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][6]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][7]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][8]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][9]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][10]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][11]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][12]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][13]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][14]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][15]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][16]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][17]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][18]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][19]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][20]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][21]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][22]);
PlayerTextDrawShow(playerid,TDEditor_PTD[playerid][23]);
SelectTextDraw(playerid, COLOR_RED);
return 1;
}
YCMD:mp3off(playerid,params[],help)
{
StopAudioStreamForPlayer(playerid);
return 1;
}[/pawn]
Scan link: LinkCredits: Sanel Pandzic
[pawn]SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");[/pawn]
zasto ovoo??? :'( :'(
Svidja mi se ideja i namjera, ali malo su tdovi outdated, po meni moze puno ljepse da izgleda, 5/10, pokusaj sljedeci put da se fokusiras na sam dizajn tj izgled tdova.