Zaključano

Mp3 u Textdraw

pre 5 godina
2,268
pregleda
9
postova
Ova tema je zaključana. Samo moderatori i administratori mogu odgovarati.
Sanel_Pandzic
Underboss
pre 5 godina
Tip: Filterscript
Slike 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
new PlayerText:TDEditor_PTD; new MpTimer;

Ovaj stock dodajte gdje su vam ostali stock
stock KreirajMP3(playerid)
{
TDEditor_PTD = CreatePlayerTextDraw(playerid, 155.000000, 109.062500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 325.000000, 233.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, 65535);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 153.500000, 122.625000, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 327.000000, -4.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 360.500000, 109.062500, "MP3 PLAYER");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.334500, 1.053125);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, -2147450625);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 234.000000, 140.562500, "COOL RADIO");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 229.500000, 177.750000, "PINK RADIO");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 235.500000, 215.413970, "NARODNI FM");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 237.500000, 253.038970, "JUZNI VETAR");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 155.000000, 272.250000, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 325.000000, 72.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -2139094785);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 418.000000, 140.575561, "RADIO ANTENA");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 386.000000, 174.700561, "RADIO OK");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 398.000000, 211.013061, "RADIO NAXI");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 388.500000, 252.575561, "RADIO TDI");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.307000, 1.363749);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 3);
PlayerTextDrawColor(playerid, TDEditor_PTD, 16777215);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 247.000000, 127.875000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 238.500000, 120.875000, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 5.000000, 225.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 321.000000, 120.437500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 4.000000, 228.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 422.000000, 121.312500, "LD_SPAC:white");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 4.000000, 220.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 4);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 430.500000, 200.500000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 430.000000, 164.625000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 430.500000, 129.625000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 248.500000, 237.250000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 430.500000, 241.187500, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 247.000000, 165.500000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 247.500000, 202.250000, "");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.000000, 0.000000);
PlayerTextDrawTextSize(playerid, TDEditor_PTD, 22.000000, 41.000000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 0);
PlayerTextDrawFont(playerid, TDEditor_PTD, 5);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetPreviewModel(playerid, TDEditor_PTD, 1318);
PlayerTextDrawSetPreviewRot(playerid, TDEditor_PTD, 0.000000, 90.000000, 90.000000, 1.000000);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);

TDEditor_PTD = CreatePlayerTextDraw(playerid, 467.500000, 106.000000, "x");
PlayerTextDrawLetterSize(playerid, TDEditor_PTD, 0.400000, 1.600000);
PlayerTextDrawAlignment(playerid, TDEditor_PTD, 1);
PlayerTextDrawColor(playerid, TDEditor_PTD, -16776961);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetOutline(playerid, TDEditor_PTD, 0);
PlayerTextDrawBackgroundColor(playerid, TDEditor_PTD, 255);
PlayerTextDrawFont(playerid, TDEditor_PTD, 2);
PlayerTextDrawSetProportional(playerid, TDEditor_PTD, 1);
PlayerTextDrawSetShadow(playerid, TDEditor_PTD, 0);
PlayerTextDrawSetSelectable(playerid, TDEditor_PTD, true);
return 1;
}

Ovo dodajte u onplayerconnect
KreirajMP3(playerid);

Ovo dodajte u OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
    if(newkeys == KEY_SUBMISSION)
    {
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        PlayerTextDrawShow(playerid, TDEditor_PTD);
        SelectTextDraw(playerid, COLOR_RED);
    }

Ovo dodajte u OnPlayerClickPlayerTextDraw(playerid, PlayerText:playertextid)
if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://live.coolradio.rs/cool128");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://naxi128.streaming.rs:9150/");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://live.okradio.net:8000/");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://94.23.38.225:7005/");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://62.75.216.99:8000/;*.mp3");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://streaming.tdiradio.com:8000/tdiradio.mp3");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://pink.exyuserver.com/");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
    if(gettime() < MpTimer) return SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");
    MpTimer = gettime() + 5;
    StopAudioStreamForPlayer(playerid);
    PlayAudioStreamForPlayer(playerid, "http://195.252.68.166:8036/");
    return 1;
    }
    if(playertextid == TDEditor_PTD)
    {
        PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
    PlayerTextDrawHide(playerid,TDEditor_PTD);
        CancelSelectTextDraw(playerid);
        return 1;
    }

Ove 2. komande dodajte gdje su vam ostale komande
YCMD:mp3(playerid,params[],help)
{
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    PlayerTextDrawShow(playerid,TDEditor_PTD);
    SelectTextDraw(playerid, COLOR_RED);
return 1;
}
YCMD:mp3off(playerid,params[],help)
{
StopAudioStreamForPlayer(playerid);
return 1;
}

Scan link: Link
Credits: Sanel Pandzic
Jaksic
Underboss
pre 5 godina
SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");

zasto ovoo😕  😢 😢
ᗪ乇Ҝ丂卂
Underboss
pre 5 godina
!OverLord wrote on February 2, 2020, 4:41 pm:
SCM(playerid, -1, ""SIVA"Sacekaj 5. sekundi!");

zasto ovoo😕  😢 😢

SendClientMessage(playerid, -1, "Sacekaj 5 sekundi"); // ili ako bas hoces sivo mada je odvratno onda stavis 0xC0C0C0FF :P, a ne -1, pa onda boja... ::)
Jaksic
Underboss
pre 5 godina
YumikoJR wrote on February 2, 2020, 10:16 pm:

SendClientMessage(playerid, -1, "Sacekaj 5 sekundi"); // ili ako bas hoces sivo mada je odvratno onda stavis 0xC0C0C0FF :P, a ne -1, pa onda boja... ::)

ne seriiii ozb😕
ᗪ乇Ҝ丂卂
Underboss
pre 5 godina
!OverLord wrote on February 2, 2020, 10:24 pm:
ne seriiii ozb😕

njemu pricam  🙄
Jaksic
Underboss
pre 5 godina
oke  🙂
Skrilew
Godfather
pre 5 godina
Jako los textdraw po meni, previse bode okice :/
nixeloffGG
Rookie
pre 5 godina
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.
Alberto_Williams
Rookie
pre 5 godina
Svaka cast  😁

Morate biti prijavljeni da biste odgovorili na ovu temu.

Prijava