You can try this, but I dpn't know for sure, wheter it works like you want:
Code:

void createapanel()
{
var ammo = 30;
STRING ammo_string;
FONT ammp_font;

pan_create("digits 122, 56, ammo_string, ammo_font, 1, ammo;", _VAR(3));
}



If it doesn't work, there is no way to handle this with C++ I think. Good luck


Your friendly mod is at your service.