SA-MP Forums Archive
Making a Door with a Password? - 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: Making a Door with a Password? (/showthread.php?tid=181712)



Making a Door with a Password? - Jarred Miller - 06.10.2010

Inside the LSPD, I want there to be a door in between the Lobby and Offices. I know how to map it and everything, but how do I code it so that it requires a Password? I've already made it so you can hit a fire alarm, and it opens, but how do I make it so that when you hit the alarm it asks for a Password?


Re: Making a Door with a Password? - Steven82 - 07.10.2010

Use a dialog and then i think but idk...

it's
pawn Код:
Strvl
Or something and make the password all numbers. Sorry i used to have something like this in an old gamemode, but my PC crashed and i lost all my old stuff :/


Re: Making a Door with a Password? - Tee - 07.10.2010

I was gonna say that but like this.

Make a dialog and when the player types the command (example /opendoor) it activates the dialog and you need a password to put it in.

You can go here to request it.


Re: Making a Door with a Password? - Steven82 - 07.10.2010

Quote:
Originally Posted by Tee
Посмотреть сообщение
I was gonna say that but like this.

Make a dialog and when the player types the command (example /opendoor) it activates the dialog and you need a password to put it in.

You can go here to request it.
Yea last time i did that was last year and on my old GM that was lost when PC crashed...so..yeah i totally failed :P


Re: Making a Door with a Password? - [UG]Scripter - 07.10.2010

I did the same for My PD logins.