--
[ Picked text/plain from multipart/alternative ]
Huh not sure I understand but:
C_BasePlayer* pPlayer = C_BasePlayer::GetLocalPlayer();
if (pPlayer)
{
pPlayer->GetActiveWeapon()
}
On 4/6/06, Michael Kramer <[EMAIL PROTECTED]> wrote:
>
> --
> [ Picked text/plain from multipart/alternative ]
> I have a weapon, in which you can select multiple things, using a VGUI
> Panel.
>
> After you select from this list, It needs to send the keyvalues of the
> selected item, back
> to the weapon and then , get the values from KeyValues.
>
> Basically the weapon calls
>
> engine->ClientCmd("ToggleSpellPanel");
>
> Which then toggles my panel.
>
> My panel then has a list, with added items,
>
> So basically what im wanting to know, is either how to send my Player, or
> Weapon, the Currently Selected Items, KeyValues, (Which I know how to get,
> just now howto send to player/weapon)
> .
>
> Any help would be greatly appreciated.
>
> Thanks
>
> -Kramer
> --
>
> _______________________________________________
> 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