![]() |
custom qmenu
Okay, I'm creating a custom qmenu and I need to know how to display all of the players weapons and stuff. without doing it individually. I made sure ever weapon img is 32 by 32 so if that helps any. :/ Any thought?
|
I've been thinking about doing this as well. You could have possitions saved with an index number, and a for loop that goes through all weapons, and puts them in their place acording to the index. Although this could be a bit sloppy, and there would have to be a limit on the number of items the player can have. I'm sure there has to a better way though.
|
PHP Code:
I guess to draw all icons onto one panel, you could use a GuiDrawingPanel. Similarly you could spawn other GUI controls such as GuiBitmapButtonCtrls for each weapon. |
| All times are GMT +2. The time now is 06:43 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.