ok am lost , i tried everything an nothing worked.
Edit : isnt this correct :
PHP Code:
public ShowHUD(id)
{
new HUD[51]
//This is the stuff that will actually show in game.
format(HUD, 50, "Level: %i XP: %i", PlayerLevel[id], PlayerXP[id])
message_begin(MSG_ONE, msgtext, {0,0,0}, id)
write_byte(id)
write_string(HUD)
message_end()
return
}