[Pomoc] undefined symbol "SendRadioMessage"

Započeo |LOB| Robi.pwn, April 25, 2013, 19:36:08 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Skripta koju koristim:Moj gm od 0
Detaljan opis problema:Imam ovaj error:S
error 017: undefined symbol "SendRadioMessage"
Dio skripte:
Evo Komanda
//Organizacijski Chat
CMD:o(playerid, params[])
{
new sendername[MAX_PLAYER_NAME];
new idx;
new string[128];
    if(IsPlayerConnected(playerid))
    {
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(params);
while ((idx < length) && (params[idx] <= ' '))
{
idx++;
}
new offset = idx;
new result[64];
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = params[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COL_RED, "{00C0FF}Koristi:{FFFFFF} (/r)adio [radio chat]");
return 1;
}
new brojevi[] = { '1','2','3','4','5','6','7','8','9'};
for(new b = 0; b < sizeof brojevi; b++)
{
new tekst = strlen(result);
for(new i = 0; i<tekst; i++)
{
if(result[i] == brojevi[b])
result[i] = '*' ;
}
}
if(PlayerInfo[playerid][pMember] == 1 || PlayerInfo[playerid][pLider] == 1)
{
if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)PD.Direktor %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)PD.Kapetan %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)PD.Zapovjednik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)PD.Narednik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)PD.Policajac %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)PD.Ucenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)PD.Ucenik %s:{FFFFFF} %s, prijem. **", sendername, result);
}
SendRadioMessage(1, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 2 || PlayerInfo[playerid][pLider] == 2)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)FBI.Direktor %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)FBI.Zamijenik  %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)FBI.Cobra %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)FBI.Tajni Agent %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)FBI.Agent %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)FBI.Ucenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)FBI.Ucenik %s:{FFFFFF} %s, prijem. **", sendername, result);
}
SendRadioMessage(2, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 3 || PlayerInfo[playerid][pLider] == 3)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)SWAT.Pukovnik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)SWAT.Zamjenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)SWAT.Zapovjednik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)SWAT.Deserter %s:{FFFFFF} %s, prijem.|**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)SWAT.Agent %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)SWAT.Ucenik %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)SWAT.Ucenik %s:{FFFFFF} %s, prijem. **", sendername, result);
}
SendRadioMessage(3, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else if(PlayerInfo[playerid][pMember] == 4 || PlayerInfo[playerid][pLider] == 4)
{
    if(PlayerInfo[playerid][pRank] == 6) { format(string, sizeof(string), "**(Radio)MD.Upravitelj %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 5) { format(string, sizeof(string), "**(Radio)MD.Specijalista %s:{FFFFFF} %s., prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 4) { format(string, sizeof(string), "**(Radio)MD.Kirurg %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 3) { format(string, sizeof(string), "**(Radio)MD.Doktor %s:{FFFFFF} %s, prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 2) { format(string, sizeof(string), "**(Radio)MD.Brat %s:{FFFFFF} %s. prijem.**", sendername, result); }
else if(PlayerInfo[playerid][pRank] == 1) { format(string, sizeof(string), "**(Radio)MD.Student %s:{FFFFFF} %s, prijem.**", sendername, result); }
else
{
format(string, sizeof(string), "**(Radio)MD.Student %s:{FFFFFF} %s,  prijem, **", sendername, result);
}
SendRadioMessage(4, 0x6495EDAA, string);
printf("%s", string);
return 1;
}
else
{
SendClientMessage(playerid, COL_RED, "   Nisi dio Tima !");
return 1;
}
}
return 1;
}

Neke slike/video za lakse dobivanje pomoci(neobavezno):
Citat: [RS]panameR. poslato Novembar 24, 2012, 13:50:32 POSLE PODNE
Citat: [FG] Tixa Mukic poslato Novembar 24, 2012, 11:12:07 PRE PODNE
Jel mi moze netko objasnit kako popuni i to sve opću uplatnicu :'(
kemijskom

Blaeks RESPECT!
joXy_ BIG RESPECT!
CkusaColeCM RESPECT!
Ivan_Ino.pwn BIG RESPECT!

stock SendRadioMessage(membergroup, color, string[])
{
    foreach(Player, i)
    {
            new duty = PlayerInfo[i][pOnDuty];
            if(PlayerInfo[i][pMember] == membergroup && duty == 1 || PlayerInfo[i][pLeader] == membergroup && duty == 1)
            {
                SendClientMessage(i, color, string);
            }
    }
}