Faraonekkk
New Member
- Joined
- Feb 15, 2010
- Messages
- 686
- Reaction score
- 4
is there any function that update storage id for all online players?
thanks
thanks
Last edited:
function doCreaturesOnlineSetStorage(key, value)
for _, pid in ipairs(getPlayersOnline()) do
doCreatureSetStorage(pid, key, value)
end
print("> Storage value for key " .. key .. " set for all players: \"" .. value .. "\".")
return true
end