public Function(id){ set_hudmessage(255, 0, 0, -1.0, -1.0, 0, _, 12.0, _, _, -1) new Float:MyFloat = 1.6 //Here is your float show_hudmessage(id, "My float is %f", MyFloat)}