02.03.2017, 16:14
What is wrong? ingame not playing...
Sorry for my bad english.
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; }