• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Storage Value [ONLY PROS]

conde2

Active Member
Joined
Jun 22, 2008
Messages
348
Reaction score
44
In my server i'm trying save the CID of one npc in a STORAGE !!
So i do this way:


PHP:
local npc = doCreateNpc("erdon", getCreaturePosition(cid))
doPlayerSetStorageValue(cid, 9000, npc)
local storage = getPlayerStorageValue(cid, 9000)
print(npc)
print(storage)

--- the print of storage / npc isin't equal but the value in database is equal of npc....


But when i see the storage in database is equal of npc
So the thing is why when i use getPlayerStorageValue the return is not equal of the database value?
 
Back
Top