2 arguments in same local or same value
#1
I'm trying to store 2 return values in the same local and then store it in a ini file.
Here is the code I made:
Code:
function HandleChunkCommand( Player, Entity ) ChunksIni = cIniFile( "chunks.ini") local ChunkPos = Entity:GetChunkX(),Entity:GetChunkZ() ChunksIni:SetValue(ChunkPos, "Claimed", 1) ChunksIni:WriteFile() return true end
It only stores ChunkX, no ChunkZ.
If I do print(Entity:GetChunkX(),Entity:GetChunkZ()) it gives me chunkX and ChunkZ but how can I store it in a local?
Reply
Thanks given by:


Messages In This Thread
2 arguments in same local or same value - by tonibm19 - 09-30-2013, 04:36 AM



Users browsing this thread: 1 Guest(s)