28.11.2013, 14:04
@Loot you're wrong
this wouldn't work because SetPlayerHealth isn't instant, it has to sent a message to the client to update, and then the client sets the health, using GetPlayerHealth straight after SetPlayerHealth will just return the last health the client sent to the server
pawn Код:
new Float:Test;
SetPlayerHealth(playerid, 350);
GetPlayerHealth(playerid, Test);
printf("%f", Test);