getMissionPath command always returns mpmissions\__cur_mp.altis\ for dedicated multiplayer missions instead of the correct mission name (in this case mpmissions\test.Altis
)
Hosted MP mission:
Dedicated MP mission:
getMissionPath command always returns mpmissions\__cur_mp.altis\ for dedicated multiplayer missions instead of the correct mission name (in this case mpmissions\test.Altis
)
Hosted MP mission:
Dedicated MP mission:
your second screenshot executes on the client. to get server execution you need to put it in the larger field and press server exec
I am aware of this. This was actually intentional, since my goal is to spawn local p3d's with createSimpleObject
I will test later, if server execution returns the correct path and if so, if spawning it server side works (as a workaround at least).
Still I'm convinced with client side execution the path should still be correct. If I'm not mistaken this was the behaviour when the command was initially introduced
If I'm not mistaken this was the behaviour when the command was initially introduced
¯\_(ツ)_/¯ Then you are mistaken
Okay so apparently it was totally my fault and I somehow managed to break things with a control character in the filename. Sorry for bothering you KK and thanks for the reply. You can mark this as a non-issue