Hey guys,
I created a marker to port me into a casino. This works well.
But now, I can't port myself out (with another Marker - in the casino ofc).
Here's the code. I just can port myself out of the casino with /leave
markerleave = createMarker( 2002.509765625,1016.2685546875,994.46875 )
function leaveCasino ( thePlayer )
setElementInterior ( thePlayer, 0, 2027.6220703125, 1007.2666015625, 10.8203125 )
end
addEventHandler ( "onMarkerHit", markerleave, leaveCasino )
addCommandHandler("leave", leaveCasino)
BTW: I see the Marker in the casino, but nothing happens if I walk into it.
Greets