SA-MP Forums Archive
Trying to adapt the elevator filterscript - 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: Trying to adapt the elevator filterscript (/showthread.php?tid=604245)



Trying to adapt the elevator filterscript - StyleAbrams - 02.04.2016

Hello,

I am currently trying to adapt the elevator filterscript to a mapping I made. I had a lot of problems but I managed to fix them and now the elevator is working almost perfectly.

The only problem remaining is that we can't call the elevator.
Everything else is working : there are the different pickups (also the ones that says "Press Y to call the elevator"), but when you're on this pickup and press Y, nothing happens.

But if I teleport myself inside the elevator and press Y, the elevator dialog appears and I can go at whatever floor I want to go.

So the only problem is that I can't call the elevator. Here is the code :

http://pastebin.com/LBjwgjXG

So if some of you already had to adapt this system, you probably know what needs to be modified and you will probably see where is my mistake. (maybe at the line 370 ?).

Thank you in advance !