13.01.2013, 18:22
erros:
cmd:
pawn Код:
C:\Users\Sonic\Desktop\novidades.pwn(2704) : error 004: function "SaveAdminLideres" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(2713) : error 004: function "SalvarTerritorio" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(2715) : error 004: function "SaveCars" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(2716) : error 004: function "SaveVip" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(2717) : error 004: function "LoadAdminLideres" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(2718) : error 004: function "LoadCar" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(2719) : error 004: function "LoadVip" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(4282) : error 017: undefined symbol "GivePlayerMoneyEx"
C:\Users\Sonic\Desktop\novidades.pwn(4311) : error 017: undefined symbol "GivePlayerMoneyEx"
C:\Users\Sonic\Desktop\novidades.pwn(5727) : error 017: undefined symbol "GetPlayerMoneyEx"
C:\Users\Sonic\Desktop\novidades.pwn(5735) : error 017: undefined symbol "GetPlayerMoneyEx"
C:\Users\Sonic\Desktop\novidades.pwn(5737) : error 017: undefined symbol "GivePlayerMoneyEx"
C:\Users\Sonic\Desktop\novidades.pwn(5738) : error 017: undefined symbol "DepositarGranaOrg"
C:\Users\Sonic\Desktop\novidades.pwn(5788) : error 017: undefined symbol "GivePlayerMoneyEx"
C:\Users\Sonic\Desktop\novidades.pwn(5789) : error 017: undefined symbol "SacarGranaOrg"
C:\Users\Sonic\Desktop\novidades.pwn(5832) : error 017: undefined symbol "DepositarMaterialOrg"
C:\Users\Sonic\Desktop\novidades.pwn(5881) : error 017: undefined symbol "SacarMaterialOrg"
C:\Users\Sonic\Desktop\novidades.pwn(5924) : error 017: undefined symbol "DepositarMaconhaOrg"
C:\Users\Sonic\Desktop\novidades.pwn(5973) : error 017: undefined symbol "SacarMaconhaOrg"
C:\Users\Sonic\Desktop\novidades.pwn(6016) : error 017: undefined symbol "DepositarCocainaOrg"
C:\Users\Sonic\Desktop\novidades.pwn(6065) : error 017: undefined symbol "SacarCocainaOrg"
C:\Users\Sonic\Desktop\novidades.pwn(6108) : error 017: undefined symbol "DepositarCrackOrg"
C:\Users\Sonic\Desktop\novidades.pwn(6157) : error 017: undefined symbol "SacarCrackOrg"
C:\Users\Sonic\Desktop\novidades.pwn(6191) : error 004: function "ClearChatbox" is not implemented
C:\Users\Sonic\Desktop\novidades.pwn(6200) : error 017: undefined symbol "GivePlayerMoneyEx"
C:\Users\Sonic\Desktop\novidades.pwn(6825) : error 017: undefined symbol "GetPlayerID"
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
26 Errors.
pawn Код:
if(strcmp(cmd,"/vozadmin",true)==0)// avvoice
{
if(IsPlayerConnected(playerid))
{
if (PlayerInfo[playerid][pAdmin] >= 1337)
{
new Str[100];
new result[64];
new Nome[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
new length = strlen(cmdtext);
while ((idx < length) && (cmdtext[idx] <= ' '))
{
idx++;
}
new offset = idx;
while ((idx < length) && ((idx - offset) < (sizeof(result) - 1)))
{
result[idx - offset] = cmdtext[idx];
idx++;
}
result[idx - offset] = EOS;
if(!strlen(result))
{
SendClientMessage(playerid, COLOR_GRAD2, "USE: /avvoice [texto]");
return true;
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
GetPlayerName(playerid, Nome, sizeof(Nome));
format(string, sizeof(string), "|________ Mensagen de Voz do Admin: %s ________|", sendername);
SendClientMessage(i,COLOR_WHITE, string);
format(Str, sizeof(Str), "http://translate.******.com/translate_tts?tl=pt&q=%s", (result));
PlayAudioStreamForPlayer(i, Str, 0, 0, 0, 0, 0);
}
}
return 1;
}