Raised This Month: $12 Target: $400
 3% 

Pijudo: new hud menu system


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Roccoxx
AlliedModders Donor
Join Date: Jan 2012
Location: Argentina
Old 09-16-2020 , 09:17   Pijudo: new hud menu system
Reply With Quote #1

Well this is a menu system per hud, I always wanted to make one when I was a teenager but I did not have the capacity to do it, so I share it with you. I publish it more as a contribution than as a plugin because the idea is that it is a guide and that they make the modifications that they believe necessary in terms of menu positions and elements.

The system uses 3 dhud: 1 for the title, X for the items and 1 for the Exit, Return, Next options.

Where X depends on the content of the elements, minimum 1 DHUD.

It has support for both static menus and dynamic menus.

Natives

Spoiler


Example
Spoiler


Important: the title of hud_menu_register and hud_menu_create_title must match!

Credits:
Matias_Esf -> Testing
Metalicross -> For guiding me to the game sdk to investigate the dhud
r0ma' -> For the suggestions <3

Put HudMenu.amxx before your plugins that use the menu.

Some images
Spoiler


GITHUB
Attached Files
File Type: inc hudmenu.inc (1.3 KB, 272 views)
File Type: sma Get Plugin or Get Source (TestHudMenu.sma - 409 views - 4.1 KB)
File Type: sma Get Plugin or Get Source (HudMenu.sma - 281 views - 8.8 KB)
__________________
Tutorials here (Spanish)

Like as another Pijudo said: "Tired and retired"

Last edited by Roccoxx; 09-16-2020 at 12:53.
Roccoxx is offline
Send a message via MSN to Roccoxx
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode