• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
delete
#1
Brick 
How remove immune players fromAll thanks, the list?

As here in an example. http://www.itsmods.com/forum/Thread-Rele...9#pid69969
PHP Code:
string immunePlayersXUID GetServerCFG("VOTEKICK""immunePlayers_xuid"""); 


PHP Code:
//remove inactive and immune players from the list 
if ((player.Ping 999) && (player.Ping 0) && !(immunePlayers.Contains(player.XUID))) 

TellClient(Client.ClientNum"^2" player.ClientNum " ^0- " "^3" player.Nametrue); 
validPN.Add(player.ClientNum); Thread.Sleep(1000); 





How as to make here?
PHP Code:
//fetches the playerinfo of the entered player, or all players
        
void playerInfo(String MessageServerClient issuer)
        {
            
System.Collections.Generic.List<ServerClientclientList GetClients();
            
Char[] delimit = { ' ' };
            
String[] split Message.Split(delimit);
            
String name "";
            for (
int i 1split.Lengthi++)
            {
                
name += split[i];
                if (
1)
                {
                    
name += " ";
                }
            }
            if (
split.Length == 1)
            {
                
Thread statusThread = new Thread(new ParameterizedThreadStart(statusAll));
                
statusThread.Start(issuer);
                return;
            }
            foreach (
ServerClient currClient in clientList)
            {
                if (
currClient.Name.ToLower().Contains(name) || name=="")
                {
                    if (
currClient.Name != "")
                    {
                        
TellClient(issuer.ClientNum"^1Name: " currClient.Name " ^2Clientnum: " currClient.ClientNum " ^3XUID:" currClient.XUID " ^1Warnings: " warner.getWarnings(currClient) + " ^4Group:" 
                            
bouncer.getUserGroup(currClient.XUID), true);
                    }
                
                 }

            }
        } 


in sv_config
Code:
[ServerAdmin] immunePlayers_xuid=xuid1,xuid2
Thanks!

question is solved.
#2
-------------
#3
Code:
Thread.Sleep(0x2BC);

Nice decompiling, brah.
[-] The following 1 user says Thank You to JariZ for this post:
  • 99IRock
#4
In your post i see:
CSHARP Code
  1. string immunePlayersXUID = GetServerCFG("VOTEKICK", "immunePlayers_xuid", "");


and after that i see:
CSHARP Code
  1. [ServerAdmin]
  2. immunePlayers_xuid=xuid1,xuid2


In the first block of code, you get the 'immunePlayers_xuid' from 'VOTEKICK', but in the sv_... you store them in '[ServerAdmin]'...
Is it a mistake???
#5
---------------
#6
Why you deleted your post? It can not be helpfull for someone else? Or you don't want people to know that you ask for help?
#7
(01-11-2013, 12:17)SirGravzy Wrote: wow, thanks for deleting dick..

Stop posting rage messages everywhere....
C++/Obj-C developer. Neko engine wip
Steam: Click
#8
(01-11-2013, 12:17)SirGravzy Wrote: wow, thanks for deleting dick..

Mainpost has been restored. Closing thread now.


Possibly Related Threads...
Thread Author Replies Views Last Post
Question [Delete] Properly switching teams TemeraireTeamp 12 2,580 11-16-2013, 11:44
Last Post: TemeraireTeamp
  [Request] DELETE THIS ACCOUNT! fakalavista 3 1,313 10-23-2013, 07:45
Last Post: CJGreenLabel
  How to delete HUD elements on death? camxxcore 6 1,514 08-21-2013, 08:54
Last Post: Yamato
  delete please Borealis 2 630 04-13-2013, 14:11
Last Post: kokole
Lightbulb [Request] Delete killtriggers? Nekochan 7 1,689 09-02-2012, 13:24
Last Post: Ich1994
  plz delete OzonE 1 765 08-28-2012, 07:16
Last Post: JariZ
  DELETE nik-mac 2 800 07-11-2012, 21:47
Last Post: nik-mac
  delete menu music alvarogt95 5 920 04-23-2012, 19:25
Last Post: JariZ
  Delete me cuz I don't have enough permission Lemon 7 1,687 04-04-2012, 01:30
Last Post: Bloopbloop
  [Request] DELETE ME Puffiamo 3 758 01-22-2012, 12:28
Last Post: d0h!

Forum Jump:


Users browsing this thread: 1 Guest(s)