duda, ARNPC...
#1

buenas a todos quisiera sabar si saben que puede ser que me desconecte los npc creados, osea se crean perfectamente y a los segundos me los kickea a todos .

error de log..


Код:
[01:31:26] [npc:join] NPC(0) has joined the server (2:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(1) has joined the server (3:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(2) has joined the server (4:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(3) has joined the server (5:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(4) has joined the server (6:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(8) has joined the server (7:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(7) has joined the server (8:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(9) has joined the server (9:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(5) has joined the server (10:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26] [npc:join] NPC(6) has joined the server (11:127.0.0.1)
[01:31:26]  OnPlayerConnect hook has called 
[01:31:26]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:26]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:26]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:27]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:27]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:27]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:27]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:27]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:27]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:27]  ARNPC Debug: OnPlayerSpawn hook called
[01:31:52]  ARNPC Debug: OnPlayerDisconnect hook called for NPC
[01:32:05]  ARNPC Debug: OnPlayerDisconnect hook called for NPC
desde ya muchas gracias.
Reply
#2

Intentas conectar muchos NPC's al mismo tiempo, por lo cual ocurre eso. Hace poco, un tipo tenнa el mismo problema y utilizу un temporizador para conectar a los NPC's cada tanto de tiempo, y lo solucionу.
Reply
#3

creo un los CreateRNPC y utilizo un tempolizador para darles la posicion.

lo raro es que creo los npc en la posicion de un jugador y cuando los kikea, kikea al usuario ese :/. o_O
Reply
#4

Recuerda que RNPC crea a los NPC's y se maneja con los nativos de SA-MP. 'OnPlayerSpawn' tambiйn es llamada para los NPC's, asн que debes poner una restricciуn para que no aparezcan en los lugares de los jugadores.

Otra cosa, verifica 'maxnpc' y 'maxplayers'.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)