Need HELP! ******* is NOT WORKING
#1

What is wrong? ingame not playing...

Sorry for my bad english.

Код:
#include < a_samp >

public OnFilterScriptInit() {
	print("\n----------------------------------------------");
	print(" Autor: AngrySnake - EHT ******* Systeem ");
	print("----------------------------------------------\n");
	return 1;
}

public OnPlayerCommandText(playerid, cmdtext[]) {
    if (strcmp("/*******", cmdtext, true) == 0) {
        ShowPlayerDialog(playerid, 2016, DIALOG_STYLE_INPUT, "{FFFFFF}You{F81414}Tube", "{FFFFFF}Sisesta loo nimi mida soovid:", "Kuula", "Sulge");
        return 1;
    } else if (strcmp("/*******", cmdtext, true, 7) == 0) {
        if(!cmdtext[7])return SendClientMessage(playerid, 0xD6E1EBFF, "/*******");
        new ola[255];
        format(ola, sizeof(ola), "https://6t.pe/?song=%s", cmdtext[7]);
        PlayAudioStreamForPlayer(playerid, ola);
        return 1;
    }
    return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) {
    if(dialogid == 2016) {
        if(strlen(inputtext)) {
            new ola[255];
            format(ola, sizeof(ola), "https://6t.pe/?song=%s", inputtext);
            PlayAudioStreamForPlayer(playerid, ola);

        }
    }
    return 0;
}
Reply
#2

The 6t.pe returns nothing
( old API ) use the *******inmp3 api
https://www.*******inmp3.com/api/
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)