30/10/2023 05:17
[font=Consolas, "Courier New", monospace]public UpdateStatusBars(playerid)
{
// Atualize os indicadores para o jogador
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}=== Seu status ===");
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}Fome: \n", = (format(playerid, "%0.2f", Fome)));
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}Sede: \n", = (format(playerid, "%0.2f", Sede)));
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}Sono: \n", = (format(playerid, "%0.2f", Sono)));
return 1;
}[/font]
ERRO:
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(121) : warning 235: public function lacks forward declaration (symbol "UpdateStatusBars")
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : error 029: invalid expression, assumed zero
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : error 035: argument type mismatch (argument 1)
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : error 029: invalid expression, assumed zero
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : fatal error 107: too many error messages on one line
Compilation aborted.
Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase
{
// Atualize os indicadores para o jogador
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}=== Seu status ===");
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}Fome: \n", = (format(playerid, "%0.2f", Fome)));
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}Sede: \n", = (format(playerid, "%0.2f", Sede)));
SendClientMessage(playerid, 0xFFFF00, "{FFFFFF}Sono: \n", = (format(playerid, "%0.2f", Sono)));
return 1;
}[/font]
ERRO:
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(121) : warning 235: public function lacks forward declaration (symbol "UpdateStatusBars")
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : error 029: invalid expression, assumed zero
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : error 035: argument type mismatch (argument 1)
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : error 029: invalid expression, assumed zero
C:\Users\yTzkaii\Desktop\Brasil_Flexe_Roleplay\gamemodes\bfrp.pwn(125) : fatal error 107: too many error messages on one line
Compilation aborted.
Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase