SA-MP Forums Archive
NPC Bot joins but he is not in-game! - 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: NPC Bot joins but he is not in-game! (/showthread.php?tid=308512)



NPC Bot joins but he is not in-game! - Artie_Scorpion - 03.01.2012

Hello, I have a problem, so my NPC bot connect to the server, but doesn't show, I nothing to do with NPC functions or something like that, please help me if you can, my contact skype : sa-mp921


Re: NPC Bot joins but he is not in-game! - [HiC]TheKiller - 03.01.2012

Could you please post the ConnectNPC line and what it shows in the server console?


Re: NPC Bot joins but he is not in-game! - IstuntmanI - 03.01.2012

Maybe will be solved if you put
Код:
if( IsPlayerNPC( playerid ) ) return 1;
immediatly after { at:
Код:
OnPlayerConnect, OnPlayerRequestSpawn, OnPlayerRequestClass, OnPlayerSpawn



Re: NPC Bot joins but he is not in-game! - Artie_Scorpion - 03.01.2012

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
Could you please post the ConnectNPC line and what it shows in the server console?
ConnectNPC("autobusas","autobusas");

Ignore the names, they always been in this line.

And writing in the server console: [npc:join] autobusas has joined the server (0;127.0.0.1)

P.S i didn't changed anything with NPC's. One player said he killed him (i knew he had ******) but i bealive this is joke.
I think its a scripting problem in gamemode, i dont know still...


Re: NPC Bot joins but he is not in-game! - Artie_Scorpion - 04.01.2012

I hope my register system was a problem


Re: NPC Bot joins but he is not in-game! - Guest9328472398472 - 04.01.2012

It won't interact with the registration system as the "ConnectNPC" already registers it automatically as a NPC bot (if you understand what I mean)