Armour Problem
#3

Код:
if(armor >= 95 || (armor + 25) >= 95)
{
	SendClientMessage(playerid,-1,""chat" You have enough armour to survive.");
	return 1;
}
Check if the current armour + 25 will be equal to or greater than 95 first.
return 1; to stop the rest of the function from functioning.
Reply


Messages In This Thread
Armour Problem - by Blackazur - 05.03.2013, 17:49
Re : Armour Problem - by Shidony - 05.03.2013, 17:54
Re: Armour Problem - by Kreatyve - 05.03.2013, 17:54
Re : Armour Problem - by DaRk_RaiN - 05.03.2013, 17:54
AW: Armour Problem - by Blackazur - 05.03.2013, 18:07
Re: Armour Problem - by Patrick - 05.03.2013, 18:16
Re : Armour Problem - by Shidony - 05.03.2013, 18:16
Re: Armour Problem - by Vince - 05.03.2013, 18:38

Forum Jump:


Users browsing this thread: 1 Guest(s)