i cant use the %-symbol in a hud-text.. err?
runtime error: "String formatted incorrectly - parameter 4 (total 3)"
Code:
new hudmsg[256], len
len = format(hudmsg,255, "^n4^% faster movement")
set_hudmessage(255, 255, 255, -1.0, 0.50, 0, 0.0, 5.0, 0.0, 0.5, 1)
show_hudmessage(id, hudmsg)
i also tried this but it failed too:
Code:
len = format(hudmsg,255, "^4%s faster movement", "%")
both of the methods work like a dream in client_print and others like that, so whats wrong with the hud?