Problem with NPCS.
#1

Hello,
I'm newbie in sa-mp and pawn. I added few npcs, which trying to connect to server, but with no success.
I see message: Incoming connection 127.0.0.1: ... bla bla.

So, my problem is that my npc doesn't spawn at all.

I have added
Код:
if(IsPlayerNPC(playerid)) return 1;
in
Код:
OnPlayerConnect
,
Код:
OnPlayerDisconnect
,
Код:
OnPlayerSpawn
. I also removed server password.

EDIT: Damn me. I forgot to increase maxnpc count to >0. Solved!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)