![]() |
main gui help
Hey guys I have a question. I am making a main gui that displays your hit points and armor and your ammo max. The health part works and the armor part works but im having trouble with it keeping up with clientr.pistol.ammo.
heres what I have: PHP Code:
It shows the ammo right, but if i fire the weapon ammo and it adds 100 clip to clientr.pistol.ammo, it doesnt update the new ammo status. say I had 500 ammo before I fired the ammo and added 100 ammo. I would have 600ammo but it would still show 500ammo. Someone help [; |
You'd have to either update it everytime the ammo stats change or just every 0.05 seconds using a TimeOut.
|
Quote:
Edit: Quote:
|
| All times are GMT +2. The time now is 12:55 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.