[Pomoc]Moze pomoc oko errora ?

Započeo // xunder, Decembar 28, 2013, 18:26:33 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Balkan Extreme
Detaljan opis problema:Errori
Dio skripte:CMD:pesma(playerid, params[])
{
    #pragma unused help
    if(PlayerInfo[playerid][pAdmin] > 5 return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, ZUTA, "Uputstvo: "BELA"/pesma [url pjesme]");
    foreach(Player, i) {
    PlayAudioStreamForPlayer(i, params); }
    printf("[komanda][/pesma] Admin %s je pustio %s",GetName(playerid),params);
    return 1;
}
CMD:ugasipesmu(playerid, params[], help)
{
    #pragma unused help
    #pragma unused params
    if(PlayerInfo[playerid][pAdmin] > 2 return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    foreach(Player, i) {
    StopAudioStreamForPlayer(i); }
    return 1;
}
Neke slike/video za lakse dobivanje pomoci(neobavezno):Mislim da ne treba :)

CMD:pesma(playerid, params[])
{
    #pragma unused help
    if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, ZUTA, "Uputstvo: "BELA"/pesma [url pjesme]");
    foreach(Player, i)
{
    PlayAudioStreamForPlayer(i, params);
}
    printf("[komanda][/pesma] Admin %s je pustio %s",GetName(playerid),params);
    return 1;
}
CMD:ugasipesmu(playerid, params[], help)
{
    #pragma unused help
    #pragma unused params
    if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    foreach(Player, i)
{
    StopAudioStreamForPlayer(i);
}
    return 1;
}

Citat: kristijan250 poslato Decembar 28, 2013, 18:37:32 POSLE PODNE
CMD:pesma(playerid, params[])
{
    #pragma unused help
    if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, ZUTA, "Uputstvo: "BELA"/pesma [url pjesme]");
    foreach(Player, i)
{
    PlayAudioStreamForPlayer(i, params);
}
    printf("[komanda][/pesma] Admin %s je pustio %s",GetName(playerid),params);
    return 1;
}
CMD:ugasipesmu(playerid, params[], help)
{
    #pragma unused help
    #pragma unused params
    if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    foreach(Player, i)
{
    StopAudioStreamForPlayer(i);
}
    return 1;
}


i dalje ostaju ovi errori:
C:\Documents and Settings\VegOr_TM\My Documents\[BE] Balkan Extreme\gamemodes\Extreme.pwn(33923) : error 017: undefined symbol "help"
C:\Documents and Settings\VegOr_TM\My Documents\[BE] Balkan Extreme\gamemodes\Extreme.pwn(33924) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\VegOr_TM\My Documents\[BE] Balkan Extreme\gamemodes\Extreme.pwn(33925) : error 035: argument type mismatch (argument 2)
C:\Documents and Settings\VegOr_TM\My Documents\[BE] Balkan Extreme\gamemodes\Extreme.pwn(33937) : error 035: argument type mismatch (argument 2)


CMD:pesma(playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    if(sscanf(params, "s[256]", params)) return SendClientMessage(playerid, ZUTA, "Uputstvo: "BELA"/pesma [url pjesme]");
    foreach(Player, i)
{
    PlayAudioStreamForPlayer(i, params);
}
    printf("[komanda][/pesma] Admin %s je pustio %s",GetName(playerid),params);
    return 1;
}
CMD:ugasipesmu(playerid, params[], help)
{
    if(PlayerInfo[playerid][pAdmin] < 5) return SendClientMessage(playerid, ZUTA, "[NSG] "BELA"Morate biti Administrator levela 5 da bi koristili ovo!");
    foreach(Player, i)
{
    StopAudioStreamForPlayer(i);
}
    return 1;
}