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

[Request] Mega Bless

Leumon

New Member
Joined
Mar 25, 2015
Messages
85
Reaction score
0
hello otland i want script mega bless falcon makes you lose only From 30 up to 60% of your level/skills at your next death depends on yourlevel (Expires after 1 death) with that effects

tfs o.4 svn

bumb

bumb
 
Last edited by a moderator:
storages, onUse+onPrepareDeath+doPlayerSetLossPercent = easy script
u can use somthing like this
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
     setPlayerStorageValue(cid, 74109, 1)
     doPlayerSendTextMessage(cid, MESSAGE_INFO_DECR, "You are supposed to learn the basic things. Look at examples from other scripts, ask for guidence if you can't find something or don't understand what is wrong.")
     doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "It's fine to request scripts, but that does not mean you should never try anything yourself.")
     return true
end
and
Code:
function onPrepareDeath(cid, deathList)
if getPlayerStorageValue(cid, 74109) == 1 then
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 45)
setPlayerStorageValue(cid, 74109,0)

-- other types: PLAYERLOSS_CONTAINERS, PLAYERLOSS_ITEMS. You can find constant names in data/lib/000-constant.lua
end
     return true
end
 
Back
Top