GetPlayerHealth
#1

pawn Код:
new Float:Health[2];
GetPlayerHealth(playerid,Health[0]);
SetPlayerHealth(playerid,Health[0] - 5);
GetPlayerHealth(playerid,Health[1]);
printf("Old:%f New:%f",Health[0],Health[1]);

Old: 100.00000
New: 100.00000//?????
EDIT:
But if I make a timer with (Above)100ms interval, GetPlayerHealth give me the correct health.
Reply


Messages In This Thread
GetPlayerHealth - by =WoR=Varth - 03.09.2011, 02:28
Re: GetPlayerHealth - by cessil - 03.09.2011, 02:45
Re: GetPlayerHealth - by =WoR=Varth - 03.09.2011, 03:29
Re: GetPlayerHealth - by Phanto90 - 03.09.2011, 07:22
Re: GetPlayerHealth - by =WoR=Varth - 03.09.2011, 07:27

Forum Jump:


Users browsing this thread: 1 Guest(s)