warning 213: tag mismatch
#1

pawn Код:
stock SetPlayerHealthEx(playerid,Float:hp)
{
    SetPVarFloat(playerid,"health",hp);
    SetPlayerHealth(playerid,GetPVarFloat(playerid,"health"));
    return GetPVarFloat(playerid,"health"); // warning 213: tag mismatch
}
Reply
#2

I got no errors while compiling it! I guess there's something somewhere in your script which affects (Pvar "health") badly.
Reply
#3

pawn Код:
Float: SetPlayerHealthEx(playerid, Float:hp)
{
    SetPVarFloat(playerid,"health",hp);
    SetPlayerHealth(playerid,GetPVarFloat(playerid,"health"));
    return GetPVarFloat(playerid,"health"); // warning 213: tag mismatch
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)