Help me [Remove]
#1

Hi, I was wondering how I can make it so when someone goes to the entrance of a building, they just press "ENTER" or "F" to go inside, can someone help me please?
Reply
#2

In OnPlayerKeyStateXChange you need to check that newkeys-oldkeys = (whatever number enter or f are (check the wiki)).

Then you need IsPlayerInArea or PlayerToPoint to check if they're in the right location.
Reply
#3

Thanks.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)