11/10/2023 18:29
(11/10/2023 17:03)zBL4CK Escreveu: testei o mesmo codigo em meu gamemode e não tive este problema.obrigadao irmao resolveu aqui para min
utilize assim e veja se o aviso persiste.
Código PHP:forward Float:GetPlayerHealthEx(playerid);
public Float:GetPlayerHealthEx(playerid)
{
new Float:pVida;
GetPlayerHealth(playerid, pVida);
VBPlayer[playerid][vbVida] = pVida;
return pVida;
}
Lembre-se Warnings não interferem no funcionamento da gamemode, ela irá funcionar normalmente caso o aviso esteja lhe incomodando utilize essa função em seu gamemode:
Código PHP:#pragma warning disable 208