[Help] Stream Markers From menyoo

Hey,

I know there are a few topics about this but I could not find the right solution. I’ve got a beatifull house but the front gate won’t go open because it needs a marker that will allow it to move. Unfortunately this marker is in a .xml file and won’t stream on FX-Server. I’ve tried multiple things:

Do you guys know anything that might resolve this issue? As this house is very beatifull and I would like to keep it.

Here is the marker that I would need to stream.

	<Marker>
		<Name>Enter Gate</Name>
		<InitialHandle>109</InitialHandle>
		<Type>3</Type>
		<Scale>0.599999905</Scale>
		<ShowName>false</ShowName>
		<RotateContinuously>true</RotateContinuously>
		<AllowVehicles>true</AllowVehicles>
		<Colour R="255" G="255" B="255" A="190" />
		<Position>
			<Position X="-1236.78394" Y="4473.17676" Z="29.4179363" />
			<Rotation X="0" Y="0" Z="149.06665" />
		</Position>
		<Destination>
			<LinkInitHandle>0</LinkInitHandle>
			<Position X="-1241.1012" Y="4466.16553" Z="29.9411259" />
			<Rotation X="0" Y="0" Z="0" />
		</Destination>
		<DestinationHeading>147</DestinationHeading>
	</Marker>
	<Marker>
		<Name>Exit Gate</Name>
		<InitialHandle>110</InitialHandle>
		<Type>3</Type>
		<Scale>0.599999905</Scale>
		<ShowName>false</ShowName>
		<RotateContinuously>true</RotateContinuously>
		<AllowVehicles>true</AllowVehicles>
		<Colour R="255" G="255" B="255" A="190" />
		<Position>
			<Position X="-1239.09265" Y="4469.26123" Z="29.7356186" />
			<Rotation X="0" Y="0" Z="-29.8653488" />
		</Position>
		<Destination>
			<LinkInitHandle>0</LinkInitHandle>
			<Position X="-1235.50293" Y="4475.95752" Z="28.2062073" />
			<Rotation X="0" Y="0" Z="0" />
		</Destination>
		<DestinationHeading>-30</DestinationHeading>
	</Marker>

Links:

Just a little discleaner: I am not asking support for the resource, this is all about streaming those markers.

The xml just defines properties of the marker. You should parse the xml and use the properties with the DrawMarker native.

How would I do this, sorry I’m not a developer at all.

Search for a way to parse an xml file for your programming language.

I honestly would just create the markers without the xml.

It doesn’t matter how to create those markers I just need them, if you know any simple or better way just tell me. It’s all about making them work @d0p3t

Just using the native, like I said. https://runtime.fivem.net/doc/natives/#_0x28477EC23D892089