View Single Post
Black Rose
Veteran Member
Join Date: Feb 2011
Location: Stockholm, Sweden
Old 08-24-2013 , 13:41   Re: # XP out of # XP
Reply With Quote #2

formatex(szText, sizeof(szText) -1, "[%s]^n[XP : %i/%i]^n[Buy XP = /buyxp]", Prefix[Level[id]], eXP[id], VariableThatContainsXPForAllLevels[ Level[id] + 1 ])

There's a macro called charsmax() replacing sizeof()-1.
__________________

Last edited by Black Rose; 08-24-2013 at 13:42.
Black Rose is offline