How to know when a player exit's a house?
#1

Hello, i wanted to created a house system, but i didn't want to use DisableInteriorExits(); because i don't like it.

But how can my script detect when a player exit's a house (so when he walked into an Enex to the outside of the house)?

* Please without timers.
Reply
#2

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

Quote:
Originally Posted by FUNExtreme
Realy thanks mate! that helps me! but how do i know if a player is IN a house, and try's to EXIT's it? because with OnPlayerInteriorChange it will works with all interiors, and not all interiors are houses.
Something with playertopoint?
Reply
#4

if(newinteriorid == 0)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)