Key press enter building
#1

Hey.

I don't want to use the ''Crouch'' key anymore to enter a building. I just want to walk into a icon and then you enter the building. How can I make this? What do I have to delete from the script?

Thanks for helping. I'm using Vortex RolePlay 2 (https://sampforum.blast.hk/showthread.php?tid=252612)

~Stephanz
Reply
#2

Find the OnPlayerKeyStateChange callback and edit it accordingly to the key you wish to use or no key. Then you need to do some OnPlayerPickUpPickup callback work. I suggest you ask for this in the actual topic for that specific gamemode.
Reply
#3

I did JaTochNietDan. Are you Dutch by the way?

Quote:
Originally Posted by Calg00ne
Посмотреть сообщение
You'll only be given help on changing settings and helping configure this gamemode in this thread. If you want what you requested, you're better off making a new thread.
So I still need help...
Reply
#4

Quote:
Originally Posted by Stephanz
Посмотреть сообщение
I did JaTochNietDan. Are you Dutch by the way?



So I still need help...
Do not use any OnPlayerKeyStateChange and all.Just CreatePickup with pickupid and on OnPlayerPickUpPickup setplayerpos and interior id .it's very simple
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)