add an int vgui_menu; to player.h
then when you send a vguimenu just set it to the menu you
are going to display

IE:

pPlayer->ShowVGUIMenu(MENU_CLASS);
pPlayer->vgui_menu = MENU_CLASS

or head over to hlpp and read boatman's tut on
menus, he goes into fairly decent detail that
can easily be used for what you are trying to accomplish

-Ron


> -----Original Message-----
> From: Michael Transue [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 18, 2002 11:29
> To: [EMAIL PROTECTED]
> Subject: [hlcoders] (no subject)
>
>
>
> don't have that variable...
>
> : error C2039: 'vgui_Menu' : is not a member of 'CBasePlayer'
>
>
> _________________________________________________________________
> MSN Photos is the easiest way to share and print your photos:
> http://photos.msn.com/support/worldwide.aspx
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list
> archives, please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to