YSI-Includes
YSI-Includes copied to clipboard
warning 213: tag mismatch Bitstream
trafficstars
` hook stock OnIncomingCustomPacket(playerid, rpcid, BitStream:bs) { if(rpcid == RPC_SHOW_FACTORY_GAME) { new exit_type; BS_ReadUint8(bs, exit_type);
if (exit_type)
{ // успешно
Zavod_PlayerBuildSucces(playerid);
}
else
{ // закрыл
SetPVarInt(playerid, "pZavod_State", ZAVOD_PLAYER_STATE_STARTED);
}
return ~1;
}
return continue(playerid, rpcid, bs);
} `
Err:
warning 213: tag mismatch: expected tags "Bit", "Text", "Group", "File", "Float", "Text3D", or none ("_"); but found "BitStream"
Add BitStream to CUSTOM_TAG_TYPES.
#define CUSTOM_TAG_TYPES BitStream
it works. ty