--
[ Picked text/plain from multipart/alternative ]
Yup, the CBasePlayer Class (Or your descended class if you're using custom
classes) is the class that refers to a player entity.  If you want to access
their client side only information it gets more complicated than that, but
in short, the CBasePlayer class will always be a player or a NULL value.

On 4/11/07, Drak <[EMAIL PROTECTED]> wrote:
>
> This is a multi-part message in MIME format.
> --
> [ Picked text/plain from multipart/alternative ]
> Well, i'm still working on the GoldSrc engine, before moving to source.
> But anyways,
>
> I'm trying todo some minor things in the SDK, but already got stuck. For
> example, I just wanted to make the player glow, but how does the engine know
> when I'm talking about a player?
> Example:
>
>
> void GlowUser(CBasePlayer *user)
> {
>      user->pev->renderamt = 60;
>      // All the extra stuff here
> }
>
>
> Now, does the engine know i'm talking about a player? Is it just by using
> the "CBasePlayer" class, i'm now talking about a player?
> And i couldn't test this since i have no idea how i can call this
> function, could anyone please explain how?
> --
>
>
> _______________________________________________
> 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