SA-MP Forums Archive
help with elevator !!! - 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: help with elevator !!! (/showthread.php?tid=319842)



help with elevator !!! - Rafa - 20.02.2012

hello guys i want to add elevator in interior but i cant understand how im trying to find in MTA but i cant find it... any one have idea how to add
Thanks. xD


Re: help with elevator - Guitar - 20.02.2012

An actual elevator? Like the one in 0.3c? Or just any object that makes an elevator?


Re: help with elevator - Rafa - 20.02.2012

well can the both but if can like 0.3c sure ... xD


Re: help with elevator !!! - Guitar - 20.02.2012

Hm, I will try to do it as I forgot or didn't study how the new "MoveObject" works in SA-MP, but can you show me the place where you want the elevator to be?


Re: help with elevator !!! - Rafa - 20.02.2012

well i dont realy want the elevator to move i just need the object to place in the right place and simply the player will be teleported faster but it will looks like the elevator is moving fast :P


Re: help with elevator !!! - Guitar - 20.02.2012

Hm, that can be done by pickups and SetPlayerPos, so if a player picks up a pickup, SetPlayerPos gets called and teleports the player to the wanted place .


Re: help with elevator !!! - Rafa - 20.02.2012

so does have object like elevator or the real one in MTA
please help :/


Re: help with elevator !!! - Guitar - 20.02.2012

I am not sure :3


Re: help with elevator !!! - Shabi RoxX - 20.02.2012

Quote:
Originally Posted by Rafa
Посмотреть сообщение
so does have object like elevator or the real one in MTA
please help :/
No Elevator in MTA , Just Elevator in 0.3c ....

I gussets you to create a Lift like interior AND move all objects to Move WHOLE LIFT


Re: help with elevator !!! - ReneG - 20.02.2012

The only object that works like this is the famous ls_elevator. You can move it to wherever you want, however there is a lot of moving of coordinates involved, and it is not easy. But it is more than possible. You can also make your own by using CreatePickup with OnPlayerPickup and SetPlayerPos like the dude above me said. Goodluck.