Cannot get player health above 100
#9

@Loot you're wrong

pawn Код:
new Float:Test;
        SetPlayerHealth(playerid, 350);
        GetPlayerHealth(playerid, Test);
        printf("%f", Test);
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
Reply


Messages In This Thread
Cannot get player health above 100 - by SlonCHL - 28.11.2013, 06:44
Re: Cannot get player health above 100 - by ikbenremco - 28.11.2013, 06:48
Re: Cannot get player health above 100 - by cessil - 28.11.2013, 06:52
Re: Cannot get player health above 100 - by SlonCHL - 28.11.2013, 06:54
Re: Cannot get player health above 100 - by SlonCHL - 28.11.2013, 07:12
Re: Cannot get player health above 100 - by DaRk_RaiN - 28.11.2013, 07:36
Re: Cannot get player health above 100 - by SlonCHL - 28.11.2013, 08:24
Re: Cannot get player health above 100 - by Loot - 28.11.2013, 13:39
Re: Cannot get player health above 100 - by cessil - 28.11.2013, 14:04
Re: Cannot get player health above 100 - by Loot - 28.11.2013, 14:57

Forum Jump:


Users browsing this thread: 2 Guest(s)