client.attrib.hp is 9999, here.
NPC Code:
hp = strtofloat(#s(client.attrib.hp));
setplayerprop #c,#v(hp) #v(strtofloat(#s(client.attrib.hp)));
Result: "1807 9999"
Are "hp"-variables limited somehow?
The hp thingie is acting as if I did hp = strtofloat(#s(client.attrib.hp))%2048;
Strangely, the mp are working fine, though using the very same thingie.