C:\Users\igorm\Desktop\Play\gamemodes\BRF.pwn(17483) : warning 219: local variable "NomePlayer" shadows a variable at a preceding level
C:\Users\igorm\Desktop\Play\gamemodes\BRF.pwn(17520) : warning 219: local variable "NomePlayer" shadows a variable at a preceding level
C:\Users\igorm\Desktop\Play\gamemodes\BRF.pwn(17528) : warning 219: local variable "NomePlayer" shadows a variable at a preceding level
C:\Users\igorm\Desktop\Play\gamemodes\BRF.pwn(17590) : warning 219: local variable "NomePlayer" shadows a variable at a preceding level
C:\Users\igorm\Desktop\Play\gamemodes\BRF.pwn(76638) : warning 219: local variable "NomePlayer" shadows a variable at a preceding level
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Warnings.
new NomePlayer[MAX_PLAYER_NAME];
new NomePlayer[MAX_PLAYER_NAME], NomeKiller[MAX_PLAYER_NAME];
new NomePlayer[MAX_PLAYER_NAME], NomeKiller[MAX_PLAYER_NAME],ArmaTeste[32];
new NomePlayer[MAX_PLAYER_NAME], NomeKiller[MAX_PLAYER_NAME];
new NomePlayer[MAX_PLAYER_NAME];
|
Da Proxima vez que me ignorar nгo irei ajudar tenta mudar o nome da variavel nomeplayer.
|
C:\Users\igorm\Desktop\Play\gamemodes\BRF.pwn(17590) : warning 219: local variable "NomePlayer4" shadows a variable at a preceding level
C:\Users\igorm\Desktop\Play Futurama\gamemodes\BRF.pwn(29794) : error 017: undefined symbol "NomePlayer4"
C:\Users\igorm\Desktop\Play Futurama\gamemodes\BRF.pwn(29798) : error 017: undefined symbol "NomePlayer4"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Errors.
|
deu certo saiu os warnings mais nesse deu erro
PHP Code:
|
sу que tipo o gm ta compilando tudo certinho sу que nao ta ligando o server ta dando isso no samp-server
Script[gamemodes/BRF.amx]: Run time error 19: "File or function is not found"
|
consegui aqui mano troquei os nome deu certo
sу que tipo o gm ta compilando tudo certinho sу que nao ta ligando o server ta dando isso no samp-server PHP Code:
|
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
|
Eu nem mexi nos codigo sу mudei que coloquei numero 1, 2, 3, 4, e 5 no final de cada uma ai deu certo mais tipo isso ja tava dando antes de arrumar os warnings atй pensei que era por causa disso mais nao й ta compilando tudo certo o gm mais o gm nao liga ta dando erro
PHP Code:
|
new NomePlayer4[MAX_PLAYER_NAME], NomeKiller[MAX_PLAYER_NAME];
GetPlayerName(playerid,NomePlayer4,sizeof(NomePlayer4));
GetPlayerName(killerid,NomeKiller,sizeof(NomeKiller));
format(string, sizeof(string), "AdmAviso: %s[ORG: %s] Compriu Contrato Em %s [ORG:%s]", PlayerName(killerid), NomeORG(killerid), PlayerName(playerid), NomeORG(playerid));
ABroadCast(0xFF6347AA,string,1);
}
if(GetPlayerOrg(killerid) == 8)
{
InfoCont[1]++;
}
else if(GetPlayerOrg(killerid) == 24)
{
InfoCont[2]++;
}
PlayerInfo[playerid][pHeadValue] = 0;
GotHit[playerid] = 0;
GetChased[playerid] = 999;
GoChase[killerid] = 999;
}
}
}
}
new string[MAX_STRING];
format(string, sizeof string, "[DM]: %s [ID: %d] acusou %s [ID: %d], resultado: %s", NomePlayer(playerid),playerid,NomePlayer(id),id,ResultadoDM(playerid,id));
ABroadCast(COLOR_LIGHTRED,string,1);
BPFLogs("DM", string);
|
atualize as plugin necessaria que dб agora, esse erro й de falta de plugin ou alguma estб desatualizada.
|
|
eu acho que o problema esta no plugin streamer pois eu ponho um de outro server meu ele liga o server mais some todos objetos e atualizo o plugin streamer da erro no gamemode
|
forward KelveBlindagem(vehicleid, playerid);
public KelveBlindagem(vehicleid, playerid)
{
for(new car = 1; car <= MAX_VEHICLES; car++)
{
if(EstaBlindado[car] > 0)
{
new Float:lataria;
GetVehicleHealth(car, lataria);
if(lataria < 999)
{
EstaBlindado[car] -= 5;
RepairVehicle(car);
return 0;
}
}
}
return 1;
}
[debug] AMX backtrace:
[debug] #0 003e72e0 in public KelveBlindagem () from BRF.amx
[debug] Run time error 4: "Array index out of bounds"
[debug] Attempted to read/write array element at index 2000 in array of size 2000