Hello, I got the HUD to loop every 2 seconds. It shows up fine but there is one problem.
The "Cash" and "XP" I have it setup to Display, always reads as 0. Regardless of how much of them I have.
In the "public plugin_init()"
I have this to call the HUD.
Code:
set_task(2.0, "p_infoz", _, _, _, "b")
here is the HUD event.
Code:
public p_infoz(id)
{
set_hudmessage(255, 50, 50, -1.0, 0.50, 0, _, 2.0, _, _, -1)
ShowSyncHudMsg(id, g_hudmsg8, "[Points] %i [XP] %i",Cash[id],XP[id])
}
I am not sure why the Values always read Zero, when I have atleast 200 Cash and above 600 XP.
It shows the Values though if I do my "/info" command. But not when it auto updates on screen per 2 Seconds. I basically got the HUD to stay on screen, but it doesn't display the Values.
Please help!
Thankyou.