Author Topic: kick system  (Read 3261 times)

0 Members and 1 Guest are viewing this topic.

Offline VladD

  • Street Thug
  • *
  • Posts: 3
    • View Profile
kick system
« on: July 17, 2013, 02:31:58 pm »
I would like a kick system to prevent the server crashing.....I want it to kick players:-with the name made of numbers(example: ***123 joined the server.)
-with invalid characters(example:*** ??__??$^ joined the server.)

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: kick system
« Reply #1 on: July 18, 2013, 08:08:51 am »
You can split() the player's username and check if it has any illegal characters with if(condition==condition||condition==condition...)
I'm beginning to feel like a Lag God, Lag God

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: kick system
« Reply #2 on: July 18, 2013, 10:03:12 pm »
Search for this in Scripting showroom or Snippet showroom, I remember someone was writing the code like you want.


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline vinesh

  • Street Thug
  • *
  • Posts: 20
    • View Profile
Re: kick system
« Reply #3 on: August 05, 2013, 02:09:17 pm »
I cant find them Neskwriter, can u give me the link where it is
« Last Edit: August 05, 2013, 04:02:54 pm by stormeus »

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: kick system
« Reply #4 on: August 06, 2013, 01:01:52 am »
I cant find them Neskwriter, can u give me the link where it is

Why is ur message edited by Stormeus?

Yh can't find it 2 so sry


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline stormeus

  • VC:MP Developer
  • VC:MP Veteran
  • *
  • Posts: 1122
    • View Profile
Re: kick system
« Reply #5 on: August 06, 2013, 01:54:37 am »
Why is ur message edited by Stormeus?

For including a ridiculously long screenshot from Yahoo! Answers.
Do not PM me for support.