Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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!
So, I need this:
If player A, kills player B, and player B has 'x' storageValue then
'y' Global storageValue does -1 (doesnt turn in -1, the number of that storage-1)
local storage = 105
local value = 1
-------------------
local global = 106
function onKill(cid, target)
if isPlayer(target) and getCreatureStorage(target, storage) == value then
doSetStorage(global, getStorage(global)-1)
end
return true
end
local players = getSpectators(centerPos, rangex, rangey)
for i = 1, #players do
if isPlayer(players[i]) then
doTeleportThing(players[i], {x=100,y=100,z=7})
end
end