• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Players alive on hud
#1
players alive plugin
hi all
i liked advanced hud plugin but it wont work for me :S
i have server addon installed
and i want to get players alive plugin in hardcore mod S&d
pls give me that plugin and thx Smile
  Reply
#2
Code:
public int alivecount = 0;
        public int realalive = 0;

        public void livestats()
        {
            int countallies = 0;

            List<ServerClient> clients;

            clients = GetClients();
            if (clients != null)
            {
                if (clients.Count > 0)
                {
                    foreach (ServerClient client in GetClients())
                    {
                        if (client.Ping == 999)
                            continue;

                        if (client.Other.isAlive == true)
                        {
                            if (client.ConnectionState != ConnectionStates.MapLoading)
                            {
                                if (client.ConnectionState != ConnectionStates.Connecting)
                                {
                                    if (client.ConnectionState != ConnectionStates.Zombie)
                                    {

                                        if (client.Team == Teams.Allies)
                                        {
                                            countallies += 1;
                                        }
                                    }

                                }
                            }
                        }

                    }
                }
            }

            if (countallies != alivecount)
            {
                alivecount = countallies;
                realalive = alivecount;
            }

        }

Use it and change allies to axis if you need
Use 'realalive_allies' and _axis
C++/Obj-C developer. Neko engine wip
Steam: Click
  Reply
#3
thx alot
but i cant transfert it to .dll
pls if u can compile it to me i want just put it in /plugins
and thx
  Reply
#4
JayDi... this guy ugh. He meant to put it for 4D1, as he pm'd me there with a link here saying you helped him and needs the compiled version. Whatever long story short' he needed an IW5M version not SA. I'll deal with it.
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
  Reply
#5
(01-06-2013, 17:44)DidUknowiPwn Wrote: JayDi... this guy ugh. He meant to put it for 4D1, as he pm'd me there with a link here saying you helped him and needs the compiled version. Whatever long story short' he needed an IW5M version not SA. I'll deal with it.

....
@DidUknowiPwn ... this strange ghey.
FTFY
C++/Obj-C developer. Neko engine wip
Steam: Click
[-] The following 1 user says Thank You to Nekochan for this post:
  • DidUknowiPwn
  Reply
#6
Lock down forums to prevent us! Dumb Bitch
Do not take life too seriously. You will never get out of it alive.
[Image: UGPjFJa.jpg]
[-] The following 1 user says Thank You to DidUknowiPwn for this post:
  • narkos
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Help choose 2 random players?(1 each team) 26hz 6 1,859 09-12-2013, 17:32
Last Post: Yamato
  Add protected players to Maxping warn raminr63 6 1,028 10-04-2012, 18:02
Last Post: raminr63
Tongue Weapon Remover For Players downy 3 1,092 09-11-2012, 20:32
Last Post: JariZ
  looking for black ops zombie players kokole 12 1,914 08-26-2012, 21:14
Last Post: kokole
  more than 18 players ryan2pro 10 2,063 07-02-2012, 01:16
Last Post: estebespt
  [Request] Players join as Axis DidUknowiPwn 11 2,341 04-24-2012, 20:41
Last Post: DidUknowiPwn
  [Request] Kick players with no name/all ext ascii GrossKopf 8 2,569 04-08-2012, 03:16
Last Post: DidUknowiPwn
  Help Server crash after some maps if there are 16-18 players on the server. Darktom 11 2,074 03-11-2012, 20:41
Last Post: Darktom
  [Release] Attack Players with Stinger Yamato 6 2,234 12-30-2011, 18:00
Last Post: GscGunner
  Help command to all players of a Team - SOLVED gumpo03 3 781 11-01-2011, 22:24
Last Post: Phl3x_

Forum Jump:


Users browsing this thread: 1 Guest(s)