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

Lua drop spear nostalrius [TFS 1.2]

in data/weapons/weapons.xml
change this
XML:
action="removecount"
to this
XML:
action="move"
Or the opposite because I didn't understand if you want to make it drop on ground or it is already dropping on ground and you want to disable it.
 
in data/weapons/weapons.xml
change this
XML:
action="removecount"
to this
XML:
action="move"
Or the opposite because I didn't understand if you want to make it drop on ground or it is already dropping on ground and you want to disable it.
it is like this

Lua:
function onUse(player, item, fromPosition, target, toPosition)
    return doDestroyItem(target)
end
 
What? This script above isn't for spear and it isn't even a weapon script.
data/weapons/weapons.xml then search for spear id it should look something like this
XML:
<distance id="2389" action="removecount" breakchance="3" />
 
What? This script above isn't for spear and it isn't even a weapon script.
data/weapons/weapons.xml then search for spear id it should look something like this
XML:
<distance id="2389" action="removecount" breakchance="3" />
my base serv is nostalrius 7.7 and it doesn't have this file.
 
Back
Top