mercredi 29 juillet 2015

[Ajuda] Warning no sistema

Ta dando o seguinte erros

Code:

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.

Nessas linhas não sei oque é :/

Code:

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;
}


Code:

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;
}


é um sistema de fome e sede que encontrei e to tentando passar para minha gm :/ mas deu erro nas publics


Aucun commentaire:

Enregistrer un commentaire