Help on Onplayerkeystatechange
#1

Is there any tutorials, how to put a keys on entering building? Like, if you enter is KEY_YES** then if you exit KEY_NO**
Reply
#2

You need to create a pickup for it.

https://sampwiki.blast.hk/wiki/CreatePickup

So people will know where to click "Y" or "N"

You need to check if the players are in the rangeofpoint (which is the pickup)

https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint

Then you must set the player's position to the place you want to move them to.

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

I mean all the buildings, not just one.
Reply
#4

Then you must create the pickup on all buildings.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)