
Originally Posted by
aummua
Where is the src of Daily Premium Bonus?
can i change a daily bonus GC to item?
In the function oosmar said. What you would want to change is:
Code:
-- give premium GC bonuses every 24hrs (actually every 23:30)
if @premiumExpireTime > GETDATE() and DATEDIFF(minute, @premiumLastBonus, GETDATE()) > 1410) begin
exec FN_AlterUserGP @CustomerID, 30, 'Daily Premium Bonus'
update UsersData set PremiumLastBonus=GETDATE() where CustomerID @CustomerID
end
Give item function would be the one you want :p