NPC - Interior
#1

Hello guys,

I have just create a NPC that walks around in an Interior. The NPC works fine, but I came up to a problem. When I teleport to the NPC I will always spawn in Interior 0, same goes for /spec'ing the NPC.

I am using SetPlayerInterior for the NPC after it spawns. Even setting the Interior multiple times after the spawn won't set it into the interior.

Is there any solution for this?

Thank you.

Jeffry
Reply
#2

https://sampwiki.blast.hk/wiki/GetPlayerInterior
Reply
#3

Quote:
Originally Posted by jaami
Посмотреть сообщение
This is added at the teleport and spec command for sure. It works fine for normal players, just not for NPCs that are in interiors.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)