[Ajuda] NPC entra e sai - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] NPC entra e sai (
/showthread.php?tid=432944)
NPC entra e sai -
.ThePro - 25.04.2013
Criei meu NPC certinho conforme o tutorial, mais tive alguns problemas ...
Vejo pelo console que o NPC conecta e disconecta do servidor conforme o LOG abaixo:
Код:
[00:50:47] [npc:join] [BBB]Menor has joined the server (0:127.0.0.1)
[00:50:47] [npc:part] [BBB]Menor has left the server (0:2)
Meu game mode possui sistema de registro e jб inseri
Код:
if(IsPlayerNPC(playerid)) return 1;
na public OnPlayerConnect.
Agradeзo quem puder ajudar, boa noite!
Re: NPC entra e sai -
HumildadeAgain - 25.04.2013
OnPlayerSpawn:
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
Re: NPC entra e sai -
.ThePro - 25.04.2013
Deu certo amigo, mais quando logo o NPC nгo estб lб e reparei que quando reinicio o server ao invйs de aparecer
Код:
[00:50:47] Incoming connection: 127.0.0.1:53078
[00:50:47] [npc:join] [BBB]Menor has joined the server (0:127.0.0.1)
Aparece apenas
Код:
[20:30:34] Incoming connection: 127.0.0.1:3582
Re: NPC entra e sai -
Gleisson_. - 25.04.2013
Quote:
Originally Posted by .ThePro
Deu certo amigo, mais quando logo o NPC nгo estб lб e reparei que quando reinicio o server ao invйs de aparecer
Код:
[00:50:47] Incoming connection: 127.0.0.1:53078
[00:50:47] [npc:join] [BBB]Menor has joined the server (0:127.0.0.1)
Aparece apenas
Код:
[20:30:34] Incoming connection: 127.0.0.1:3582
|
Mano, isso й normal!