18.11.2015, 11:20
Quote:
ERROR : error 017: undefined symbol "dcmd_hudba" inconsistent return types (array & non-array) |
Quote:
LINE : dcmd(hudba,5,cmdtext); |
Код:
dcmd_hudba(playerid,parmas[]) { #pragma unused parmas new string[256]; LEVEL(2); if(isnull(parmas)) return SCM(playerid,-1,"{FFFF00}/hudba {00FF00}[ URL ]"); format(string, sizeof(string), "{FF0000}[ Audio Stream ] {800080}Administrбtor {FFFF00}%s {800080}Spustil {FFFF00}Audio Stream{00FF00}.", Jmeno(playerid)); SCMTA(-1, string); for(new i=0;i<=MAX_PLAYERS;i++) { StopAudioStreamForPlayer(i); PlayAudioStreamForPlayer(i,parmas); } return 1; }