Need help Bro Pro.
#2

PHP код:
SetPlayerHealthEx(playerid,Float:NewHealth)
{
    new 
Float:A;
    
GetPlayerArmour(playerid,A);
    if((
NewHealth 99 && <= 0.0) && JustSpawned[playerid] == && onduty[playerid] == && pInfo[playerid][GodMode] == NewHealth 99;
    if(
NewHealth <= 0.0NewHealth 0.0;
    return 
SetPlayerHealth(playerid,NewHealth);

Invalid range in if

Example:
(a > 0 && a < 99 && b == 5) //invalid
((a > 0 && a < 99) && b == 5) //valid
Reply


Messages In This Thread
Need help Bro Pro. - by MBilal - 09.10.2015, 17:21
Re: Need help Bro Pro. - by AbyssMorgan - 09.10.2015, 17:27
Re: Need help Bro Pro. - by MBilal - 09.10.2015, 17:42

Forum Jump:


Users browsing this thread: 1 Guest(s)