Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onPlayerCommand( player, cmd, text ){
- if( cmd == "setpass" ){
- if( !text ) return PrivMessage( player, "Use /setpass <on/off/disabled> to disable or /setpass <text> to enable it.");
- else {
- if( GetArgValue( text ) == false ) SetPassword("");
- else SetPassword( text );
- }
- }
- }
Add Comment
Please, Sign In to add comment