Server side problem
#2

PHP код:
PUBLIC: SetPlayerHealthEx(playerid,Float:health)
{
    new 
Float:newhp;
    if(
health 0.0)health 0.0;
    else if(
health 100.0)health 100.0;
    
AntiCheatInfo[playerid][acHealth] = health;
    
printf("AntiCheatHealth: %.01f",AntiCheatInfo[playerid][acHealth]);
    
SetPlayerHealth(playerid,health);
    
GetPlayerHealth(playerid,newhp);
    
printf("GetPlayerHealth: %.01f\nAntiCheatHealth: %.01f\nHealth: %.01f"newhpAntiCheatInfo[playerid][acHealth], tmp_health);
    return 
1;

What will print now?
Reply


Messages In This Thread
Server side problem - by jamal1992 - 01.09.2015, 11:04
Re: Server side problem - by MarvinPWN - 01.09.2015, 11:12
Re: Server side problem - by jamal1992 - 01.09.2015, 11:21
Re: Server side problem - by jamal1992 - 01.09.2015, 11:27
Re: Server side problem - by jamal1992 - 01.09.2015, 12:20
Re: Server side problem - by Vince - 01.09.2015, 12:31
Re: Server side problem - by jamal1992 - 01.09.2015, 14:00

Forum Jump:


Users browsing this thread: 1 Guest(s)