Thread
:
New API and Syntax
View Single Post
nergal
Veteran Member
Join Date: Apr 2012
12-24-2016 , 15:47 Re: New API and Syntax
#
822
Not sure if this is an issue with menus but I made a forward with only one parameter which is a pass-by-reference Menu handle.
I made the forward just like every other forward but for some reason, it's not firing nor modifying the Menu handle.
Here's the typeset for it => "function void (Menu& menu);"
EDIT: I even retested the forward by passing the Menu handle by copy instead of reference but still no firing.
I tested this by having the menu add an additional item then printing a message to all available clients by console.
__________________
[TF2] Advanced Armor
[TF2] RPG Fortress
[TF2] Sticky+Grenade Detector
[TF2] ArmChair Generals
[TF2] VS. Saxton Hale 2
[TF2] Mechanized Mercenaries
[GitHub] All my released Plugins
[ANY] Lib Module Systems
Retired
Last edited by nergal; 12-24-2016 at
15:48
.
nergal
View Public Profile
Send a private message to nergal
Find More Posts by nergal