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

need help on this script

zoky12

New Member
Joined
Jul 4, 2008
Messages
60
Reaction score
0
need help on this aol script

Code:
function onPrepareDeath(cid, killer)
    if getPlayerItemCount(cid, 2173) >= 1 and getPlayerSkullType(cid) ~= 4  then
        doSetCreatureDropLoot(cid, 0)
    end
end


its not giving my aol back and i actuly lose the aol ahhaha?

and also

Code:
  <?xml version="1.0" encoding="UTF-8"?>
<mod name="War Level Minimum" version="1.0" author="Syntax" contact="[email protected]" enabled="yes">
        <description>
        If player loggs in and is below set level then he is reset to that level.
    </description>
        <config name="buypremium_config"><![CDATA[
                config = {
                        level = 120
                }
        ]]></config>
        <event type="login" name="War Level Minimum" event="script"><![CDATA[
        function onLogin(cid)
                if getPlayerLevel(cid) < config.level then
                        doPlayerAddExperience(cid, getExperienceForLevel(config.level))
                end
        return true
        end
]]></event>
</mod>

what do i do to get this script to work its giving me console errors?
 
Back
Top Bottom