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

equipment loss

calum69

New Member
Joined
Aug 12, 2007
Messages
346
Reaction score
3
Location
Great Britain
how to remove equipment loss without using blessings,
in the older versions way back you used to be able to put equipmentloss= x amount in vocations.xml

i was wondering if there is a script to stop equipment loss, as im using a war server players kill each other for money, so what i will be putting in is the command "!bless" to cost them money, so i dont want to give free blessings on login.lua so is their another way?
 
login.lua
Code:
	doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0)
	doPlayerSetLossPercent(cid, PLAYERLOSS_ITEMS, 0)
 
thanks man, quick question,

if i remove
LUA:
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 100)

is there a default setting it stays on or do i need that?
 
so i dont need that then? :)

also the script for login.lua
LUA:
doPlayerSetLossPercent(cid, PLAYERLOSS_CONTAINERS, 0)
didnt seem to work
 
Last edited:
Back
Top