I had tried a similar method before and just tried your method, but neither
worked. I think it's with the GetActiveWeapon function.

Thank you,
Daniel Jennings

----- Original Message -----
From: "Lance Vorgin" <[EMAIL PROTECTED]>
To: <hlcoders@list.valvesoftware.com>
Sent: Tuesday, February 22, 2005 10:49 AM
Subject: Re: [hlcoders] Server Plugins refusing to load


> > You cant use CBaseEntity in a server plugin. There are
> > unresolved symbols, so it cant be loaded by srcds.
> Uhm - yes you can.
>
> Try changing
> CBaseCombatWeapon* pWeapon =
> pBase->MyCombatCharacterPointer()->GetActiveWeapon();
> to
> CBaseCombatWeapon* pWeapon =
> static_cast<CBasePlayer*>(pBase)->GetActiveWeapon();
>
> _______________________________________________
> 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