10.02.2014, 19:16
Hello all
I founded this audio streamin code what i need but when i put it in a new FS i got 8 erros with invalid funtion ore decloration.
Must i put this code special anywhere ore what i do false ?
I founded this audio streamin code what i need but when i put it in a new FS i got 8 erros with invalid funtion ore decloration.
Код:
if(!strcmp(cmdtext, "/sarki", true, 6)) { if(!IsPlayerAdmin(playerid)) { return SendClientMessage(playerid, 0xFF0000FF, "<!> RCON admin degilsin!"); } if(cmdtext[6] != ' ' || !cmdtext[7]) { return SendClientMessage(playerid, 0xFF0000FF, "<!> /sarki [url]"); } for(new i = 0; i < MAX_PLAYERS; ++i) { if(IsPlayerConnected(i)) { PlayAudioStreamForPlayer(i, cmdtext[7]); } } return 1; }