Using an NPC
#1

So, I've never been one for using NPCs, however, I'd like to get to know how to add them to the server.
The thing I wanted it to do was stand near the PD gate and if a player walks into the checkpoint infront of the NPC(if he's an officer) The gate will open, however, if he isn't then it'll reject it and send him a message.

Anyway how to do this? I've looked up tutorials but still don't get it!

Regards,
Binx.
Reply
#2

So I've recorded my NPC and added "ConnectNPC" and also added "if(IsPlayerNPC(playerid)) return 1;" under dialog register and login but also OnPlayerConnect and it's still not loading.

E: #include <a_npc> is included.
Reply
#3

Anyone?
Reply
#4

Follow each step 1 by 1 and read carefully.
https://sampforum.blast.hk/showthread.php?tid=95034
Reply
#5

I followed that exactly!! still doesn't work.
Reply
#6

Quote:
Originally Posted by Binx
Посмотреть сообщение
I followed that exactly!! still doesn't work.
What part are you having problems with?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)