What's new

Skrypty & Kody Exp Ring

Status
Not open for further replies.

xonsterix

User
Joined
Jul 22, 2009
Messages
36
Reaction score
0
local config = {
rate = 1.5
}
function onDeEquip(cid, item, slot)
if(item.itemid == 7708) then
doPlayerSetExperienceRate(cid, 1.0)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your extra experience rate has ended.")
doTransformItem(item.uid, 7708)
end
end
function onEquip(cid, item, slot)
if(item.itemid == 7708) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Your extra experience rate has been activated! It is now: " .. config.rate .. "x doubled your former experience rate.")
doPlayerSetExperienceRate(cid, config.rate)
doTransformItem(item.uid, 7708)
return true
end
end




Jak to zmienic, ?eby podwojny exp byl tez za zabicie 2 gracza a nie tylko za potwory ??
 
Status
Not open for further replies.
Top