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.
>
>
> >From: "Tony \"omega\" Sergi" <[EMAIL PROTECTED]>
> >Reply-To: [email protected]
> >To: [email protected]
> >Subject: Re: [hlcoders] FragCount() & DeathCount
> >Date: Thu, 29 Mar 2007 11:49:37 -0400
> >
> >--
> >[ Picked text/plain from multipart/alternative ]
> >Where are you calling this?
> >
> >and are you sure you're even player #1 when you test it?
> >frequently when I launch a lan game, i end up in slot #2 for some
reason.
> >
> >
> >
> >On 3/29/07, Mukkan Yhtio <[EMAIL PROTECTED]> wrote:
> > >
> > > Yeah but then it doesnt return anything?
> > >
> > > Benjamin Davison wrote:
> > > > --
> > > > [ Picked text/plain from multipart/alternative ]
> > > > If you are working with the local player I think you should use
> > > > CBasePlayer::GetLocalPlayer(); instead.
> > > >
> > > > On 3/29/07, Mukkan Yhtio <[EMAIL PROTECTED]> wrote:
> > > >
> > > >> For some reason when using these functions on the local player
> > > >> (UTIL_PlayerByIndex( 1 );) they only ever return 1.
> > > >>
> > > >> No matter how much I kill myself, FragCount and DeathCount will
> >return
> > > 1.
> > > >>
> > > >> Is these something i'm not quite understanding here about how
these
> > > >> functions work or something?
> > > >>
> > > >> Thanks,
> > > >> Mukkan
> > > >>
> > > >>
> > > >> _______________________________________________
> > > >> To unsubscribe, edit your list preferences, or view the list
> >archives,
> > > >> please visit:
> > > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders
> > > >>
> > > >>
> > > >>
> > > >
> > > >
> > > > --
> > > > - Benjamin Davison
> > > > --
> > > >
> > > > _______________________________________________
> > > > 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
> > >
> > >
> >
> >
> >--
> >-omega
> >--
> >
> >_______________________________________________
> >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