scripts/vscripts/hud.nut
PHP Code:
function HudShow2()
{
HUDINFO <-
{
Fields =
{
Hud = {slot = HUD_LEFT_TOP, dataval = "test",flags = HUD_FLAG_NOBG}
}
}
HUDSetLayout(HUDINFO);
HUDPlace( HUD_LEFT_TOP,0.3,0.2,0.5,0.2);
}
when i load this hud.nut vscripts, console give me error
AN ERROR HAS OCCURED [the index 'HUDSetLayout' does not exist]
what's wrong?