Problem - tag mismatch
#1

i have made this code:
Код:
CMD:hug(playerid,params[])
{
	new health;
	if(health < 100)
	{
		new Index;
		new tmp[128];  tmp  = strtok(params,Index);
		new player1 = strval(tmp);
                GetPlayerHealth(player1, health); // the problem is this
		SetPlayerHealth(player1, health + 25);
		SendClientMessage(playerid, 0xFFFFFF, "You gave a player a hug");
		return 1;
	}
}
i always get this warning: "tag mismatch" what have i done wrong
Reply


Messages In This Thread
Problem - tag mismatch - by Frede - 20.12.2012, 04:53
Re: Problem - tag mismatch - by [HK]Ryder[AN] - 20.12.2012, 04:59
Re: Problem - tag mismatch - by Frede - 20.12.2012, 05:12

Forum Jump:


Users browsing this thread: 1 Guest(s)