Teleport to Spawn if lastBed doesnt exist
#6
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.
Reply
Thanks given by:


Messages In This Thread
RE: Teleport to Spawn if lastBed doesnt exist - by Seadragon91 - 05-14-2017, 04:22 AM



Users browsing this thread: 1 Guest(s)