SA-MP Forums Archive
[Help]Auto Lift Delay - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help]Auto Lift Delay (/showthread.php?tid=103609)



[Help]Auto Lift Delay - Tigerbeast11 - 20.10.2009

Hi guys!

I have created a automatic lift in Area 51 which only lowers/rises if the player is on the lift. I just need help on the "on the lift"part and "how to delay the lift"

On the lift:

How can I get the script to check if the player is on the lift, and if yes, the lift rises?


How to Delay Lift:

I dont want the lift to take off really quickly as soon as the player gets on it,I want a delay so that the player has some time to get on the lift, and then the lift should rise...

If you can answer these questions, i will really appreciate it!

Greetz and thanking you in Advance!


Re: Auto Lift Delay - Tigerbeast11 - 20.10.2009

Sorry for bump, but Im in a hurry... Can someone plz answer this...


Re: [Help]Auto Lift Delay - Rzzr - 20.10.2009

can you give me the Object position?
And how high it should rise?
I'll fix it for you


Re: [Help]Auto Lift Delay - Tigerbeast11 - 21.10.2009

Quote:
Originally Posted by [ST
DutchBas ]
can you give me the Object position?
And how high it should rise?
I'll fix it for you
Thanx, but I don't have the srcipt right now... Can you just tell me how I can delay the gates?


Re: [Help]Auto Lift Delay - Rzzr - 21.10.2009

You have to use a timer.
If the player gets on the lift, set a timer to call a function in which you raise the lift.


Re: [Help]Auto Lift Delay - Tigerbeast11 - 22.10.2009

Quote:
Originally Posted by [ST
DutchBas ]
You have to use a timer.
If the player gets on the lift, set a timer to call a function in which you raise the lift.
How can I check if the player is on the lift? Im using PlayerToPoint, how can i set the timer, plz explain more! Also, what would the timer look like...

Greetz


Re: [Help]Auto Lift Delay - Rzzr - 23.10.2009

You asked me how to do it.
If i have to tell you everything you're gonna have to tell me some more stuff like coords 0.o