This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Mar 7th, 2014  |  syntax: None  |  size: 1.72 KB  |  views: 61  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1.                
  2.                 if TEAM_CHIEF and LocalPlayer():Team() == TEAM_CHIEF and GAMEMODE.Config and GAMEMODE.Config.chiefjailpos or LocalPlayer():Isowner() then
  3.                         CommandButton( s, 'Set Jail Pos', MakeFunction( BuildCommand, 'darkrp jailpos' ) ):Dock( TOP );
  4.                         CommandButton( s, 'Add Jail Pos', MakeFunction( BuildCommand, 'darkrp addjailpos' ) ):Dock( TOP );
  5.                         CommandButton( s, 'Give Gun Liscence', MakeFunction( BuildCommand, 'darkrp givelicense' ) ):Dock( TOP );
  6.                 end
  7.         end
  8.  
  9.         if( TEAM_MAYOR and LocalPlayer():Team() == TEAM_MAYOR )then
  10.                 HeaderLine( s, 'MAYOR', Color( 200, 5, 0 ) ):Dock( TOP );
  11.                 CommandButton( s, 'Start Lockdown', MakeFunction( BuildCommand, 'darkrp lockdown' ) ):Dock( TOP );
  12.                 CommandButton( s, 'Stop Lockdown', MakeFunction( BuildCommand, 'darkrp unlockdown' ) ):Dock( TOP );
  13.                 CommandButton( s, 'Start Lottery', MakeFunction( BuildCommand, 'darkrp lottery' ) ):Dock( TOP );
  14.                 CommandButton( s, 'Give Gun Liscence', MakeFunction( BuildCommand, 'darkrp givelicense' ) ):Dock( TOP );
  15.                 CommandButton( s, 'Place Laws', MakeFunction( BuildCommand, 'darkrp placelaws' ) ):Dock( TOP );
  16.                 CommandButton( s, 'Add a law.', MakeFunction( BuildCommand, 'darkrp addlaw', NewStringQuery( 'Add a law.', 'Enter the law you would like to add.') ) ):Dock( TOP );
  17.                 CommandButton( s, 'Remove a law.', MakeFunction( BuildCommand, 'darkrp removelaw', NewStringQuery( 'Remove a law.', 'Enter the number of the law to remove.') ) ):Dock( TOP );
  18.         end
  19.  
  20.         if( LocalPlayer():IsAdmin( ) )then
  21.                 HeaderLine( s, 'ADMIN', Color( 200, 200, 9 ) ):Dock( TOP );
  22.                 CommandButton( s, 'Set Jail Pos', MakeFunction( BuildCommand, 'darkrp jailpos' ) ):Dock( TOP );
  23.                 CommandButton( s, 'Add Jail Pos', MakeFunction( BuildCommand, 'darkrp addjailpos' ) ):Dock( TOP );
clone this paste RAW Paste Data