local storage, count = 19012, 0
for _, pid in ipairs(getPlayersOnline()) do
if getPlayerStorageValue(pid, storage) ~= -1 and pid ~= cid then
count = count+1
end
end
if count == 0 then
doPlayerSendTextMessage(pid, MESSAGE_INFO_DESCR, "Only you have the storage, executing script.")
else
doPlayerSendTextMessage(pid, MESSAGE_INFO_DESCR, "There are another player with the storage, sorry.")
end