Guest User

Untitled

a guest
Oct 15th, 2016
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
D 0.29 KB | None | 0 0
  1. function onPlayerCommand( player, cmd, text ){
  2.     if( cmd == "setpass" ){
  3.         if( !text ) return PrivMessage( player, "Use /setpass <on/off/disabled> to disable or /setpass <text> to enable it.");
  4.         else {
  5.             if( GetArgValue( text ) == false ) SetPassword("");
  6.             else SetPassword( text );
  7.         }
  8.     }
  9. }
Add Comment
Please, Sign In to add comment