SA-MP Forums Archive
NPC Problem. - 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 Problem. (/showthread.php?tid=370128)



NPC Problem. - GeonMake - 19.08.2012

why my npc disconnects from the server?

pawn Код:
[11:12:15] Number of vehicle models: 1
[11:12:15] Incoming connection: 127.0.0.1:59369
[11:12:15] Incoming connection: 127.0.0.1:59368
[11:12:16] [npc:join] Feraru2 has joined the server (0:127.0.0.1)
[11:12:16] [npc:part] Feraru2 has left the server (0:2)
[11:12:16] [npc:join] Feraru1 has joined the server (1:127.0.0.1)
[11:12:16] [npc:part] Feraru1 has left the server (1:2)



Re: NPC Problem. - JaKe Elite - 19.08.2012

show us your server_log.txt


Re: NPC Problem. - GeonMake - 19.08.2012

pawn Код:
[11:12:15] Number of vehicle models: 1
[11:12:15] Incoming connection: 127.0.0.1:59369
[11:12:15] Incoming connection: 127.0.0.1:59368
[11:12:16] [npc:join] Feraru2 has joined the server (0:127.0.0.1)
[11:12:16] NPC: Conexiunea de la 127.0.0.1 este acceptata.
[11:12:16] [npc:part] Feraru2 has left the server (0:2)
[11:12:16] [npc:join] Feraru1 has joined the server (1:127.0.0.1)
[11:12:16] NPC: Conexiunea de la 127.0.0.1 este acceptata.
[11:12:16] [npc:part] Feraru1 has left the server (1:2)



Re: NPC Problem. - IceMeteor - 19.08.2012

Right Below the OnPlayerConnect, add if(IsPlayerNPC(playerid)) return 1;


Re: NPC Problem. - GeonMake - 19.08.2012

Yes,now npc no longer disconnects,but i have another problem now.
My account is not known by the server


Re: NPC Problem. - GeonMake - 19.08.2012

Please..help