Molvine Posted May 8, 2022 Share Posted May 8, 2022 Hello! I ran into a problem in which the marker in the interior is invisible, but it works properly. Everything worked fine, but after I changed the screen resolution (to test adaptation to screens), the marker was no longer visible. Does anyone know how this can be fixed? Here is the part of the code where I create the marker(Client): for i,v in ipairs(foods) do local marker = createMarker(v[1],v[2],v[3]+0.8,'arrow',1.5,255,255,0) local markerInterior = createMarker(v[8],v[9],v[10]+0.8,'arrow',1.5,255,255,0) setElementData(marker,'ID',i) setElementData(marker,'Interior','outside') setElementInterior(markerInterior,v[4]) setElementData(markerInterior,'ID',i) setElementData(markerInterior,'Interior','interior') local markerFood = createMarker(v[16],v[17],v[18]-1,'cylinder',1,255,0,40,100) setElementInterior(markerFood,v[4]) setElementData(markerFood,'type',v[19]) end Shared: foods = { {811.30029, -1616.21179, 13.5468,10,814.10345, -1616.45972, 13.54688,363.51627, -74.63560, 1001.5078,365.26227, -73.70920, 1001.50781,292.3,257.6,376.54950, -68.01637, 1001.5151,'burger'} } I create a marker in the interior of Burger Shot. Neither through v[4] nor through 10 does it work, even though setElementInterior() returns true. Please help, who knows what to do with this. Link to comment
Shady1 Posted May 8, 2022 Share Posted May 8, 2022 (edited) You created your topic in the wrong section, but I will help you with this, I have prepared a code for you and I will send it in the private messages section. Please next time I tell you to open a new thread in the Script Section Edited May 8, 2022 by Shady1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now