Need some help with tag mismatch...
#1

Need some help with tag mismatch...
ENUM:
pawn Код:
pindex,
    pmodelid,
    pboneid,
    Float:pfOffsetX,
    Float:pfOffsetY,
    Float:pfOffsetZ,
    Float:pfRotX,
    Float:pfRotY,
    Float:pfRotZ,
    Float:pfScaleX,
    Float:pfScaleY,
    Float:pfScaleZ
ERROR:
pawn Код:
(1641 -- 1642) : warning 213: tag mismatch
(1641 -- 1643) : warning 213: tag mismatch
(1641 -- 1644) : warning 213: tag mismatch
Script:
pawn Код:
SetPlayerAttachedObject(playerid,//warning line
    INT:PlayerInfo[playerid][pindex],//warning line
    INT:PlayerInfo[playerid][pmodelid],//warning line
    INT:PlayerInfo[playerid][pboneid],//warning line
    Float:PlayerInfo[playerid][pfOffsetX],
    Float:PlayerInfo[playerid][pfOffsetY],
    Float:PlayerInfo[playerid][pfOffsetZ],
    Float:PlayerInfo[playerid][pfRotX],
    Float:PlayerInfo[playerid][pfRotY],
    Float:PlayerInfo[playerid][pfRotZ],
    Float:PlayerInfo[playerid][pfScaleX],
    Float:PlayerInfo[playerid][pfScaleY],
    Float:PlayerInfo[playerid][pfScaleZ]);
Thank you for your help.. With best regards Scrillex.
Reply
#2

  1. INT: is not a predefined tag. Integer variables have no tag.
  2. You do not need to include a tag anywhere but in the declaration, unless you want to override it for some reason.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)