[Ajuda] Warning!
#2

Sim, esta fazendo errado, primeiro, vida й formato float.
e a funзгo GetPlayerHealth, precisa de uma variavel auxiliar para armazenar o valor da vida.

Logo fica assim:

Код:
new Float:Vida;
GetPlayerHealth(playerid, Vida); 
DOF2_SetFloat("Health.ini",PlayerName(playerid),Vida);
Reply


Messages In This Thread
Warning! - by PedroH - 28.07.2017, 04:32
Re: Warning! - by JeffSantos2 - 28.07.2017, 05:13
Re: Warning! - by PedroH - 28.07.2017, 15:48
Re: Warning! - by RodrigoMSR - 28.07.2017, 17:16
Re: Warning! - by PedroH - 28.07.2017, 18:35

Forum Jump:


Users browsing this thread: 1 Guest(s)