Author Topic: Auto-Kick For Pings [ Snippet ]  (Read 3929 times)

0 Members and 1 Guest are viewing this topic.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Auto-Kick For Pings [ Snippet ]
« on: March 13, 2014, 05:52:21 pm »
OnPlayerConnect

Quote
CheckPlayer(playerid);

OnPlayerDeath

Quote
CheckPlayer(playerid);

OnPlayerSpawn

Quote
CheckPlayer(playerid);

[pawn]public CheckPlayer(playerid) {
if(GetPlayerPing(playerid) > 700) {
Kick(playerid);
SendClientMessage(playerid,COLOR_RED," Kicked For Pings Are Up Than 690m ");
}
return 1;
}[/pawn]

Thats All!
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline MatheuS

  • Made Man
  • ***
  • Posts: 207
  • Pawn And Squirrel Scripter
    • View Profile
    • Brazillian Community
Re: Auto-Kick For Pings [ Snippet ]
« Reply #1 on: March 13, 2014, 06:41:33 pm »
in my opinion putting only OnPlayerSpawn would be better

simple and good  :P

Offline rathore

  • Street Thug
  • *
  • Posts: 42
  • I am a scripter and still trying to be best
    • View Profile
    • Ultimate gamier
Re: Auto-Kick For Pings [ Snippet ]
« Reply #2 on: March 13, 2014, 11:21:06 pm »
Good



Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Auto-Kick For Pings [ Snippet ]
« Reply #3 on: March 17, 2014, 05:34:46 pm »
Why you added "[ Snippet ]" in the title, since you already posted in the Snippet Board ? :|



About the script:
When a player joins to the server, it will have an incredible big ping until it is refreshing.
So, if I'm not wrong, your script will kick every player.

Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Re: Auto-Kick For Pings [ Snippet ]
« Reply #4 on: March 17, 2014, 05:36:23 pm »
Why you added "[ Snippet ]" in the title, since you already posted in the Snippet Board ? :|



About the script:
When a player joins to the server, it will have an incredible big ping until it is refreshing.
So, if I'm not wrong, your script will kick every player.

i dont think so man!

if it happens .. we will can the use of i > maxplayers etc

and it will be added as timer!
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol