PDA

View Full Version : Key press enter building


Stephanz
20/07/2011, 10:44 PM
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 (http://forum.sa-mp.com/showthread.php?t=252612)

~Stephanz

JaTochNietDan
20/07/2011, 11:12 PM
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.

Stephanz
21/07/2011, 12:20 PM
I did JaTochNietDan. Are you Dutch by the way? :)

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...

Harish
27/03/2012, 12:26 PM
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