Help | The bot always leaves the server - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help | The bot always leaves the server (
/showthread.php?tid=368388)
Help | The bot always leaves the server -
Alon_S - 13.08.2012
I've loaded a bot, successfully.
But, after he gets in, he leaves automatically (sa-mp server: "The bot has joined" and a second later "The bot has left").
I don't know what is the problem.. In fact, I'm using Amit_B's bots script and it works for a lot of people.
HELP
Re: Help | The bot always leaves the server -
XStormiest - 13.08.2012
...maybe the Admin syst, the bot cannot register/login and leave the server...
Re: Help | The bot always leaves the server -
IceMeteor - 13.08.2012
pawn Code:
if(IsPlayerNPC(playerid)) return 1;
Use that right below OnPlayerConnect, OnPlayerRequestClass, OnPlayerSpawn
Re: Help | The bot always leaves the server -
Alon_S - 13.08.2012
Quote:
Originally Posted by IceMeteor
pawn Code:
if(IsPlayerNPC(playerid)) return 1;
Use that right below OnPlayerConnect, OnPlayerRequestClass, OnPlayerSpawn
|
It's there.. and again, i'm using a bot script and it works for others..