Automatic disconnection bot
#1

Hello,

I installed bots on my server. But they disconnect automatically after about 30 seconds.

I use the FS gl_npcs, but the vehicles are created in the OnGameModeInit by AddStaticVehicle.

Everything was done correctly in OnPlayerSpawn, and OnPlayerRequestClass OnPlayerConnect.

Can I find a solution?
Reply
#2

Maybe you have a script for ban some bots.

Then in this script you have write 127.0.0.1 or IP Server and bot wont be kicked or banned.
Reply
#3

I search all the GM IsPlayerNPC, but nothing found to kicked or banned.

OnPlayerConnect and I put "if (IsPlayerNPC (playerid)) return 1;" there is no IP checking..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)