![]() |
[Help] Password Protected Door
Hey guys what codes would I need to make a password protected door? I am not very good at scripting so I need some help!
Would it be like: FunctionPlayerChats() { "password here" setlevel2=secret.nw } I know it's horrible x-x, can someone help me fix it up? |
This script would probably stuff up graal because it's so bad
|
PHP Code:
|
Well I was close! Just missing some (
|
I like your dedication
|
Quote:
|
I feel like explaining it for him
PHP Code:
the if statement is where the condition for your doors password is set. In this case if you were to say "the password" or whatever you set it to. Your players level would then be set to the level, x and y coordinates in said level. Hope this helps you understand it a bit more. |
Here's a fun example of keeping a password secure. Let's say you have a password, "test" and you don't want any other scripter to know that the password is "test." You could do:
PHP Code:
If you want to know the md5 of a string, you can do echo(md5("test")); |
|
Quote:
|
great, keep advertising obsolete hash functions because they might not break down retardedly in your specific use case maybe
|
| All times are GMT +2. The time now is 08:49 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.