set_ptexp() with negative values returns stacktrace
LadyCailinBot opened this issue · 2 comments
CMDHELPER-3009 - Reported by Алексей.Положенцев
Tested on build #2817
set_ptexp(player(), -1)
Comment by Guy.Nice
I have same version and i cant set right amount using set_ptexp()... or ptexp() returns wrong amount.
If player have even 1 xp point and he is under level 10 then set_ptexp(player(),ptexp()) increases xp little every time, if player is above level 10 then its decreases every time.
This causes some problems when i store xp to hard-drive and then give it back when needed.