Exedion
Active Member
- Joined
- Jun 11, 2007
- Messages
- 628
- Reaction score
- 30
i try to give more exp for my donator system (group 3) the par of the storage value is perfect (for other system) but the part of the rate no work! (dont give me error in console) please help!
PHP:
function onLogin(cid)
local vip = 5
if getPlayerGroupId(cid) < 3 then
setPlayerStorageValue(cid, storages.petIsOnline, 2)
elseif getPlayerGroupId(cid) == 3 then
doPlayerSetRate(cid, LEVEL_EXPERIENCE, vip)
end
return TRUE
end