YSI-Includes icon indicating copy to clipboard operation
YSI-Includes copied to clipboard

warning 213: tag mismatch Bitstream

Open plakapenka opened this issue 3 years ago • 2 comments
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"

plakapenka avatar Aug 08 '22 16:08 plakapenka

Add BitStream to CUSTOM_TAG_TYPES.

#define CUSTOM_TAG_TYPES BitStream

xunder-matth avatar Aug 08 '22 22:08 xunder-matth

it works. ty

plakapenka avatar Aug 08 '22 23:08 plakapenka