03.09.2011, 02:28
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//?????
But if I make a timer with (Above)100ms interval, GetPlayerHealth give me the correct health.