[RELEASE] Auto-Kick Solo Session v5.0

Auto-Kick Solo Session

In roleplay, solo session can do anything for make money.
For example, when a player finds themself alone, he can rob and the police don’t see them.

When the problem occurs, console say : “Incomplete Routing Packet”
Just kick player when client not equal server as solo session.

Property

  • Kick when player count client not equal server.
  • Other player connect bypass.
  • Client check source id for bypass.
  • Suppport OneSync 1024 slot.
`Make by 💪😎👌️ DarkRolePlay Thailand [discord.gg/DarkRPTH](http://www.discord.gg/DarkRPTH)`

Download: https://github.com/chaixshot/fivem/tree/master/solokick
10 Likes

good job man !!!

Looks great. Can’t wait to use this on my server.

If you copy pasta something, at least remove hints about it, lol

-- Version Checking down here, better don't touch this

5 Likes

Any updates? Seems like alot of people are being kicked for solo sessions

Check debug print.
Or looking update.

Ex
[  20397672] Solo session clientPlayerNumber-1 serverPlayerNumber-23

Wird question - no one mentioned random kicks in this topic - are you sure you are not thinking about the other release? the 1.0 ?

Check for 3.0 update.
Check solo when other player spawned.

Very nice I like it.

Its not workin, player still are in Solo Session

Use AddEventHandler("playerConnecting",function(name,setMessage, deferrals) event?

1 Like

Where i have to use this?

why the script don’t kick player when they are in solo session…?

1 Like

Autokick is great… but does someone know why solo session occurs and/or “force resync” player in same session ?

Check for update. (20 ch)

What does defferals mean? And where i can insert it?

1 Like

Why do you want to kick Han Solo? ( kappa ) --------------------------

Will it work with normal 32 player server as well? Or do I have to change it to 31?

for id = 0, 255 do 
			if NetworkIsPlayerActive(id) then
				count = count+1
			end
		end

it will , its for onesync compatibility

Is it working ? Last time I checked it was kicking everyone even people that is not in solo sessions.