09.08.2011, 11:45
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
in
,
,
. I also removed server password.
EDIT: Damn me. I forgot to increase maxnpc count to >0.
Solved!
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;
Код:
OnPlayerConnect
Код:
OnPlayerDisconnect
Код:
OnPlayerSpawn
EDIT: Damn me. I forgot to increase maxnpc count to >0.
