Tag mismatch
#1

Hello,i was coding this /info command for admins and i stucked at this problem.

P.S I used strcat because the single dialog line was too long.

Errors:

(3605) : error 035: argument type mismatch (argument 3)
(3611) : warning 213: tag mismatch
(3612) : warning 213: tag mismatch

Line 3605:
pawn Код:
strcat(info,"Name: %s\n",name);
Line 3611:
pawn Код:
strcat(info,"Health: %0.1f\n", gihp);
Line 3612:
pawn Код:
strcat(info,"Armour: %0.1f\n", giar);
This are the floats for armour and health.And the check of the player name:

pawn Код:
new Float:gihp, Float:giar;
    new name[MAX_PLAYER_NAME];
    GetPlayerName(giveplayerid, name, sizeof(name));
    GetPlayerHealth(giveplayerid, gihp);
    GetPlayerArmour(giveplayerid, giar);
What's wrong on this?
Reply


Messages In This Thread
Tag mismatch - by Face9000 - 20.05.2012, 22:52
Re: Tag mismatch - by ReneG - 20.05.2012, 23:06
Re: Tag mismatch - by Face9000 - 20.05.2012, 23:17
Re: Tag mismatch - by Vince - 20.05.2012, 23:23
Re: Tag mismatch - by Face9000 - 21.05.2012, 11:37

Forum Jump:


Users browsing this thread: 1 Guest(s)