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.Name, true); 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 Message, ServerClient issuer) { System.Collections.Generic.List<ServerClient> clientList = GetClients(); Char[] delimit = { ' ' }; String[] split = Message.Split(delimit); String name = ""; for (int i = 1; i < split.Length; i++) { name += split[i]; if (i > 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.

#4
In your post i see:
Code:
string immunePlayersXUID = GetServerCFG("VOTEKICK", "immunePlayers_xuid", "");

and after that i see:
Code:
[ServerAdmin] 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-Cdeveloper. 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 10,462 11-16-2013, 11:44
Last Post: TemeraireTeamp
  [Request] DELETE THIS ACCOUNT! fakalavista 3 4,801 10-23-2013, 07:45
Last Post: CJGreenLabel
  How to delete HUD elements on death? camxxcore 6 7,163 08-21-2013, 08:54
Last Post: Yamato
  delete please Borealis 2 3,287 04-13-2013, 14:11
Last Post: kokole
Lightbulb [Request] Delete killtriggers? Nekochan 7 5,962 09-02-2012, 13:24
Last Post: Ich1994
  plz delete OzonE 1 3,085 08-28-2012, 07:16
Last Post: JariZ
  DELETE nik-mac 2 3,403 07-11-2012, 21:47
Last Post: nik-mac
  delete menu music alvarogt95 5 4,258 04-23-2012, 19:25
Last Post: JariZ
  Delete me cuz I don't have enough permission Lemon 7 6,224 04-04-2012, 01:30
Last Post: Bloopbloop
  [Request] DELETE ME Puffiamo 3 3,453 01-22-2012, 12:28
Last Post: d0h!

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2026 Melroy van den Berg.