20.12.2012, 04:53
i have made this code:
i always get this warning: "tag mismatch" what have i done wrong
Код:
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;
}
}

