• 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!

HP or mana remover

DestinationSer

@echo off
Joined
Mar 7, 2009
Messages
2,806
Solutions
1
Reaction score
675
Hey! I need a script so you can remove 100 million health or mana.
But you need atleast 1900.000.000 health or mana before you can use it.

Hurry!

Thanks.
 
As a spell:
Lua:
local config = {
    type = health,
    prerequisite = 1900000000,
    toRemove = 100000000
}
function onCastSpell(cid, var)
    local status = false
    if config.type == health then
        status = getCreatureHealth(cid) >= config.prerequisite
    elseif config.type == mana then
        status = getCreatureMana(cid) >= config.prerequisite
    end
    if config.type == health then
        status and doRemoveCreatureHealth(cid, config.toRemove)
    elseif config.type == mana then
        status and doRemoveCreatureMana(cid, config.toRemove)
    end
    return true
end
 
Code:
        status = getCreatureHealth(cid) >= config.prerequisite
    elseif config.type == mana then
        status = getCreatureMana(cid) >= config.prerequisite
    end
    if config.type == health then
        status and doRemoveCreatureHealth(cid, config.toRemove)
    elseif config.type == mana then
        status and doRemoveCreatureMana(cid, config.toRemove)
Its kinda hard to remove 2 of those setences without fucking everything up. You can do it for me!! >:D
And icy, i was kidding :p I know where its gonna be placed
 
Back
Top Bottom