SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 13/08/2012, 07:48 AM   #1
Alon_S
Little Clucker
 
Join Date: Oct 2011
Posts: 13
Reputation: 0
Default Help | The bot always leaves the server

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
Alon_S is offline   Reply With Quote
Old 13/08/2012, 07:56 AM   #2
XStormiest
Gangsta
 
Join Date: Jun 2012
Location: Continent: Europe, Country: Romania, City: Buzau
Posts: 558
Reputation: 46
Default Re: Help | The bot always leaves the server

...maybe the Admin syst, the bot cannot register/login and leave the server...
__________________
XStormiest is offline   Reply With Quote
Old 13/08/2012, 08:18 AM   #3
IceMeteor
Big Clucker
 
Join Date: Nov 2011
Location: Indonesia
Posts: 139
Reputation: 25
Default Re: Help | The bot always leaves the server

pawn Code:
if(IsPlayerNPC(playerid)) return 1;
Use that right below OnPlayerConnect, OnPlayerRequestClass, OnPlayerSpawn
IceMeteor is offline   Reply With Quote
Old 13/08/2012, 08:24 AM   #4
Alon_S
Little Clucker
 
Join Date: Oct 2011
Posts: 13
Reputation: 0
Default Re: Help | The bot always leaves the server

Quote:
Originally Posted by IceMeteor View Post
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..
Alon_S is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NPC Leaves my server Richie© Scripting Help 3 16/05/2012 07:16 AM
Server goes offline when player leaves Psychic Server Support 2 02/09/2011 09:09 PM
[HELP!] Server closes when someone leaves! Ouch_Charlie General 9 17/05/2011 09:12 AM
NPC Leaves InDeX Server Support 7 16/03/2011 06:51 AM
NPC leaves server after joining Ma Help Archive 57 24/02/2010 02:56 PM


All times are GMT. The time now is 06:47 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.