Why tag mistmatch?
#7

This is because you're inserting two different values into health:

Код:
new Float:arm, Float:heal;
	GetPlayerHealth(playerid,heal);
	GetPlayerArmour(playerid,arm);
    Player[playerid][Health] = heal;
    Player[playerid][Health] = arm;
You're putting arm into Health.

Try:

Код:
new Float:arm, Float:heal;
	GetPlayerHealth(playerid,heal);
	GetPlayerArmour(playerid,arm);
    Player[playerid][Health] = heal;
    Player[playerid][Armour] = arm;
Or Even (Recommended):

PHP код:
GetPlayerHealth(playeridPlayer[playerid][Health]), GetPlayerArmour(playeridPlayer[playerid][Armour]); 
Reply


Messages In This Thread
Why tag mistmatch? - by akib - 24.05.2017, 09:25
Re: Why tag mistmatch? - by AbyssMorgan - 24.05.2017, 09:33
Re: Why tag mistmatch? - by akib - 24.05.2017, 09:36
Re: Why tag mistmatch? - by rockhopper - 24.05.2017, 10:27
Re: Why tag mistmatch? - by Dayrion - 24.05.2017, 10:32
Re: Why tag mistmatch? - by Affan - 24.05.2017, 10:34
Re: Why tag mistmatch? - by ISmokezU - 24.05.2017, 10:41
Re: Why tag mistmatch? - by Sew_Sumi - 24.05.2017, 10:55
Re: Why tag mistmatch? - by iLearner - 24.05.2017, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)