valivan601
New Member
- Joined
- Apr 13, 2011
- Messages
- 365
- Reaction score
- 1
anyone has one script for vips that gains 1+ hour of exp bonus?
function onKill(cid, target, lastHit)
local minExp = 100
local maxExp = 1000
--Player will recieve between 100 and 1000 extra exp.
if(isVip(cid)) then--Change to ur own vip checking function ofc ;)
local rand = math.random(minExp, maxHp)
doPlayerAddExperience(cid, rand)
end
end
if(isVip(cid)) then--Change to ur own vip check func
doPlayerSetExtraExpRate(cid, 1)
end