NPC Problem.
#1

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)
Reply
#2

show us your server_log.txt
Reply
#3

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)
Reply
#4

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

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

Please..help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)