Advertisement
Guest User

Untitled

a guest
Mar 7th, 2014
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.72 KB | None | 0 0
  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 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement