C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60398) : error 055: start of function body without function header
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60400) : error 021: symbol already defined: "SetProgressBarValue"
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60400) : error 017: undefined symbol "playerid"
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60400) : error 021: symbol already defined: "UpdateProgressBar"
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60400 -- 60401) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
public Fome(playerid);
{
SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+5);
SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome")); // Aqui a linha 60400
UpdateProgressBar(FomeA,playerid);
if(GetPVarInt(playerid,"Fome") >= 95)
{
new Float:Vida;
GetPlayerHealth(playerid,Vida),SetPlayerHealth(playerid,Vida-90.0);
SendClientMessage(playerid,-1,"{AA3333}Vai Comer Um Lanche Ou Morrera.");
}
return 1;
}
public Fome(playerid);
{
SetPVarInt(playerid,"Fome",GetPVarInt(playerid,"Fome")+5);
SetProgressBarValue(FomeA, GetPVarInt(playerid,"Fome"));
UpdateProgressBar(FomeA,playerid);
if(GetPVarInt(playerid,"Fome") >= 95)
{
new Float:Vida;
GetPlayerHealth(playerid,Vida),SetPlayerHealth(playerid,Vida-90.0);
SendClientMessage(playerid,-1,"{AA3333}Vai Comer Um Lanche Ou Morrera.");
}
return 1;
}
public Sede(playerid);
{
SetPVarInt(playerid,"Sede",GetPVarInt(playerid,"Sede")+5);
SetProgressBarValue(SedeB, GetPVarInt(playerid,"Sede"));
UpdateProgressBar(SedeB,playerid);
if(GetPVarInt(playerid,"Sede") >= 95)
{
new Float:Vida;
GetPlayerHealth(playerid,Vida),SetPlayerHealth(playerid,Vida-90.0);
SendClientMessage(playerid,-1,"{AA3333}Vai Beber Uma Agua Ou Morrera.");
}
return 1;
}
Talvez precise desta include
|
#include < progress >
ja tenho ela :/
#define FomeTempo 1 // Tempo Da Fome Ex : 1 Minuto
#define SedeTempo 1 // Tempo Da Sede Ex : 1 Minuto
#define Positivo 0xFFFF00FF
#define Negativo 0xAA3333AA
oque da erro й na public mesmo.
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60400) : error 055: start of function body without function header
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60402) : error 021: symbol already defined: "SetProgressBarValue"
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60402) : error 017: undefined symbol "playerid"
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60402) : error 021: symbol already defined: "UpdateProgressBar"
C:\Users\gustavo copello\Desktop\BSR ant\BSR GM OF - Cуpia\Gamemodes\BSR.pwn(60402 -- 60403) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.