SA-MP Forums Archive
Elevator help - 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: Elevator help (/showthread.php?tid=206219)



Elevator help - Meinstad - 03.01.2011

Hello.
I need help making a elevator in LsOffice buliding.
I got some allreadu butuns but idk how to make it move like a elevator like in the video to NGScott.

If you can help, I'll be very happy


Re: Elevator help - T-N-Z - 03.01.2011

Why? It's already made, just download new server package, there's script called ls_elevator.pwn


Re: Elevator help - Toreno - 03.01.2011

Just add the ls_elevator to your filterscrips in SERVER.cfg,
The FS should be on the Filterscrips folder because SA-MP already made such script as this.

EDIT:
The one above me, lol... you were FASTER!


Re: Elevator help - Meinstad - 03.01.2011

*Oh
Never saw it :P haha ty


Re: Elevator help - T-N-Z - 03.01.2011

Can someone help me edit that script?
Let's say i want floor 20 only for admins, i have no clue how to do it

Код:
stock CallElevator(playerid, floorid)
{
	// Calls the elevator (also used with the elevator dialog).


	if(FloorRequestedBy[floorid] != INVALID_PLAYER_ID || IsFloorInQueue(floorid))
	    return 0;

	FloorRequestedBy[floorid] = playerid;
	AddFloorToQueue(floorid);

	return 1;
}



Re: Elevator help - Sayaron - 05.01.2011

The ls_elevator.pwn is kinda bugged as most people arent able to make the elevator go to its destination. Their just able to call it. It may be caused by the dialog, not sure. I havent been so bothered with this to be honest