So I use UTIL_GetLocalPlayer and then
UTIL_playerindexfunction( pplayer->entindex() )

Just to clear things up?


From: "Tony \"omega\" Sergi" <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: [hlcoders] FragCount() & DeathCo
Date: Thu, 29 Mar 2007 16:44:09 -0400

--
[ Picked text/plain from multipart/alternative ]
pplayer->entindex()

On 3/29/07, Mukkan Yhtiö <[EMAIL PROTECTED]> wrote:
>
> Ah right; but when I am enuming them; how will I identify my player?
> What's
> the best way?
>
> By the player's text name or something?
>
>
> >From: "Tony \"omega\" Sergi" <[EMAIL PROTECTED]>
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: Re: [hlcoders] FragCount() & DeathCou
> >Date: Thu, 29 Mar 2007 16:07:43 -0400
> >
> >--
> >[ Picked text/plain from multipart/alternative ]
> >Don't do that.
> >Loop through all players and check your fraglimit that way.
> >The player isn't always index 1.
> >Infact the last 4 of my tests, I was index 2, and a remote player was
> index
> >1.
> >
> >
> >On 3/29/07, Mukkan Yhtiö <[EMAIL PROTECTED]> wrote:
> > >
> > > Yeah one index directly; but I tried UTIL_LocalPlayer (or whatever)
> and
> > > that
> > > just returned nothing.
> > >
> > >
> > > >From: "Tony \"omega\" Sergi" <[EMAIL PROTECTED]>
> > > >Reply-To: [email protected]
> > > >To: [email protected]
> > > >Subject: Re: [hlcoders] FragCount() & DeathCoun
> > > >Date: Thu, 29 Mar 2007 14:59:54 -0400
> > > >
> > > >--
> > > >[ Picked text/plain from multipart/alternative ]
> > > >You are doing a loop from 1 - max players right, and not just
> checking
> > > for
> > > >one index directly?
> > > >
> > > >On 3/29/07, Mukkan Yhtiö <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > I'm calling it in gamerules.. A think function or something that
> > > checks
> > > > > the
> > > > > frag count against the fraglimit.
> > > > >
> > > > >
> >--
> >
> >_______________________________________________
> >To unsubscribe, edit your list preferences, or view the list archives,
> >please visit:
> >http://list.valvesoftware.com/mailman/listinfo/hlcoders
> >
>
> _________________________________________________________________
> Don't just search. Find. Check out the new MSN Search!
> http://search.msn.click-url.com/go/onm00200636ave/direct/01/
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlcoders
>
>


--
-omega
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders


_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to