05-14-2017, 04:22 AM
(This post was last modified: 05-14-2017, 04:23 AM by Seadragon91.)
Do you want to read the spawn position from the world ini?
If yes you could directly use the functions: GetSpawnX, GetSpawnY and GetSpawnZ from cWorld.
if not about world spawn.The error means that WorldIni is not initialized. Post the code where you are initializing WorldIni.
Edit: Ah sorry didn't saw the whole code in first post, will look at it.
If yes you could directly use the functions: GetSpawnX, GetSpawnY and GetSpawnZ from cWorld.
if not about world spawn.The error means that WorldIni is not initialized. Post the code where you are initializing WorldIni.
Edit: Ah sorry didn't saw the whole code in first post, will look at it.