- Joined
- Dec 12, 2011
- Messages
- 116
Hey guys, something really weird is happening in my map:
The following code is returning "HP: 100" instead of "HP: 100%" !!
The % symbol simply don't want to appear!
Can someone give a clue?
Thanks in advice
hamsterpellet
The following code is returning "HP: 100" instead of "HP: 100%" !!
The % symbol simply don't want to appear!
JASS:
function GetNotificationString takes unit u returns string
local string s = "HP: " + I2S(R2I(GetUnitLifePercent(u))) + "%"
call BJDebugMsg(s)
return s
endfunction
Can someone give a clue?
Thanks in advice
hamsterpellet