So I have a NPC script which uses disablenpc() on a timer. Players are able to interact with the NPC while it is active. The NPC uses mes().
If a player is talking to the NPC while the disablenpc() is triggered, the will become stuck on the mes() screen, and will need to logout or warp away using @load or something similar to get out of it.
My query: When disablenpc() is triggered, how can I send close() to everyone currently talking to that NPC?
(sorry haven't updated my source for a bit, this may already exist in new versions)
So I have a NPC script which uses disablenpc() on a timer. Players are able to interact with the NPC while it is active. The NPC uses mes().
If a player is talking to the NPC while the disablenpc() is triggered, the will become stuck on the mes() screen, and will need to logout or warp away using @load or something similar to get out of it.
My query: When disablenpc() is triggered, how can I send close() to everyone currently talking to that NPC?
(sorry haven't updated my source for a bit, this may already exist in new versions)
Share this post
Link to post
Share on other sites