Enter and Exit on Door System - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Enter and Exit on Door System (
/showthread.php?tid=620958)
Enter and Exit on Door System -
DandyCorleone - 05.11.2016
how the script to press "F" or "Y" automatically to enter or exit door?
to make in my roleplay server
Re: Enter and Exit on Door System -
DTV - 05.11.2016
Well, I'd recommend getting the PRESSED, PRESSING, AND HOLDING macros from
here.
Then go
here to see what key you want to use for entering/exiting doors and basically have it check that if they pressed a certain key to check if they're near a door entrance/exit and if so, have them enter or exit.