I am working on a gui sys for a server and got a problem, im using client.ammo, its showing the img correctly and all, but it wont update if i have client.ammo = 1, and change to 10, then i need to update the script for it to change..
So thats what i need help with right now, so it will update, some one?
PHP Code:
//#CLIENTSIDE
function onCreated()
{
for (i=1; i<client.ammo; i+=1)
{
showimg(200+i, "mercia_newgui.png", screenwidth - 302 -(i*4), screenheight - 75);
changeimgpart(200+i, 220, 137, 5, 10);
changeimgvis(200+i, 5);
}
setshape(1, 32, 32*client.ammo);
setTimer(.5);
}