C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(132) : error 017: undefined symbol "SendFamilyMessage"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(199) : error 017: undefined symbol "SendFamilyMessage"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(215) : error 017: undefined symbol "GetOrgName"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(236) : error 017: undefined symbol "SendFamilyMessage"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(261) : error 017: undefined symbol "SendFamilyMessage"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(276) : error 017: undefined symbol "GetOrgName"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(278) : error 017: undefined symbol "GetOrgName"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(280) : error 017: undefined symbol "GetOrgName"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
8 Errors.
stock SendFamilyMessage(orgid, cor, mensagem[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(pDados[i][Organizacao] == orgid)
{
SendClientMessage(i, cor, mensagem);
}
}
}
return 0;
}
stock GetOrgName(orgid)
{
new str[30];
if(orgid == 0)
{
str = "Civil";
}
if(orgid == 1)
{
str = "Policia Militar";
}
if(orgid == 2)
{
str = "BOPE";
}
if(orgid == 3)
{
str = "Exercito";
}
if(orgid == 4)
{
str = "SAMU";
}
if(orgid == 5)
{
str = "Los Astecas";
}
return str;
}
ae o outro voce tem q fazer conforme sua orgs vo dar um exemplo
PHP код:
PHP код:
|
So nгo ajudo mesmo, por ser preguiзoso.
Basta traduzir o erro, e vocк entende. ING: undefined symbol PT: sнmbolo indefinido Todos os erros que apareзia quando eu estava iniciando, eu ia traduzir no ****** Tradutor, para ver o que significava.. |
stock SendFamilyMessage(orgid, cor, mensagem[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(pDados[i][Organizacao] == 1)
{
SendClientMessage(i, C_POLICIAM, mensagem);
}
}
}
return 0;
}
stock GetOrgName(orgid)
{
new str[30];
if(orgid == 0)
{
str = "Civil";
}
if(orgid == 1)
{
str = "Policia Militar";
}
if(orgid == 2)
{
str = "BOPE";
}
if(orgid == 3)
{
str = "Exercito";
}
return str;
}
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(149) : warning 203: symbol is never used: "cor"
C:\Users\Wendell\Downloads\samp03e_svr_R2_win32\gamemodes\meugm.pwn(149) : warning 203: symbol is never used: "orgid"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
stock SendFamilyMessage(orgid, cor, mensagem[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
if(pDados[i][Organizacao] == orgid)
{
SendClientMessage(i, cor, mensagem);
}
}
}
return 0;
}