SA-MP Forums Archive
Add NPC to interior - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Add NPC to interior (/showthread.php?tid=181163)



Add NPC to interior - ZamaXor - 04.10.2010

Hello i want to add npc inside burger shot interior. I don't want to npc move. I just want to stay without moving. How to do that? BTW not connect players npc to server. I mean like in real ammunation there is an npc. So something like that.




Re: Add NPC to interior - CrucixTM - 04.10.2010

Just use the default interiors and they are there.

If you don't use them, I'm afraid you can't, without connecting a bot.


Re: Add NPC to interior - ZamaXor - 04.10.2010

Quote:
Originally Posted by CrucixTM
Посмотреть сообщение
Just use the default interiors and they are there.

If you don't use them, I'm afraid you can't, without connecting a bot.
Look at the screenshot, that not default npc. How to make it? Just i dont want to see the npc in the player list.


Re: Add NPC to interior - ScottCFR - 04.10.2010

Under the OnPlayerSpawn options with the NPCs. Put
pawn Код:
SetPlayerInterior(playerid, interiorid);



Re: Add NPC to interior - ZamaXor - 04.10.2010

Quote:
Originally Posted by ScottCFR
Посмотреть сообщение
Under the OnPlayerSpawn options with the NPCs. Put
pawn Код:
SetPlayerInterior(playerid, interiorid);
I dont know how to create the npc.


Re: Add NPC to interior - CrucixTM - 04.10.2010

Quote:
Originally Posted by ZamaXor
Посмотреть сообщение
Look at the screenshot, that not default npc. How to make it? Just i dont want to see the npc in the player list.
Yes it is -.-


Re: Add NPC to interior - ScottCFR - 04.10.2010

This should help. https://sampforum.blast.hk/showthread.php?tid=95034