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!
local area1 = {x=1000,y=1000,z=7}
local area2 = {x=1500,y=1500,z=7}
for x = area1.x, area2.x do
for y = area1.y, area2.y do
for z = area1.z, area2.z do
if isMonster(getTopCreature({x = x, y = y, z = z}).uid) then...
TFS 1.0
I want an energy attack beam that is 5 squares long, and only does damage to players who have a certain storage value. On top of that, I want a storage value set on the "area" players when it is casted on them.
Can anyone do this?
NOTE: I do NOT want onTargetCombatHealth used, because...
no it is suppose to be a heal, so does it need to be negative?
BTW: The spell is set to use params
Note: I plan on using more things with it, so I want it to work as is.
function onTargetCreature(cid, target)
if target and isPlayer(target) then
doTargetCombatHealth(0, Player(target), COMBAT_HEALING, 5, 10, CONST_ME_HOLYAREA)
end
return true
end
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT...
TFS 1.0
This returns the creature not being found. What is the correct way to do it?
function onCastSpell(cid, var)
doTargetCombatHealth(0, getPlayerByName(param), COMBAT_HEALING, 1, 5, CONST_ME_HOLYAREA)
return true
end
Does anyone know how to do this? I want "totalPlayers" to check ALL players in database for storage.
totalPlayers = ????
for i = 1, #totalPlayers do
if getPlayerStorageValue(totalPlayers[i], 10000) >= getPlayerStorageValue(totalPlayers[i], 10000) then
setGlobalStorageValue(10000...