Jump to content
Sign in to follow this  
maticsito123

GM SYSTEM BOX

Recommended Posts

go to your client
scripts\lua\forms\main
open it and look for

frmGM = UI_CreateForm( "frmGM", FALSE, 480, 20, 300, 545, TRUE, FALSE )

change the function there to this
 

frmGM = UI_CreateForm( "frmGM", FALSE, 480, 20, 300, 545, TRUE, FALSE )
UI_FormSetHotKey( frmGM, ALT_KEY, HOTKEY_P ) 
UI_ShowForm( frmGM, FALSE )
UI_AddFormToTemplete( frmGM, FORM_MAIN )
UI_FormSetIsEscClose( frmGM, FALSE )
UI_SetIsDrag( frmGM, TRUE )
UI_SetFormStyleEx( frmGM, FORM_BOTTOM, 0, 45)

imgMain3 = UI_CreateCompent( frmGM, IMAGE_TYPE, "imgMain3", 378, 61, 0, 0 )
UI_LoadImage( imgMain3, "texture/ui/gm_panel.tga", NORMAL, 378, 61, 0, 0 )

btnClose = UI_CreateCompent( frmGM, BUTTON_TYPE, "btnClose", 14, 14, 361, 3 )
UI_LoadButtonImage( btnClose, "texture/ui/PublicC.tga", 14, 14, 116, 175, TRUE )
UI_SetButtonModalResult( btnClose, BUTTON_CLOSE )

labTitle = UI_CreateCompent( frmGM, LABELEX_TYPE, "labTitle", 283, 16, 10, 3 )
UI_SetCaption( labTitle, "GM Panel")
UI_SetTextColor( labTitle, 4289000470 )
UI_SetLabelExFont( labTitle, DEFAULT_FONT, TRUE, COLOR_BLACK )

edtGMSay = UI_CreateCompent( frmGM, EDIT_TYPE, "edtGMSay", 335, 13, 21, 31 )
UI_SetTextColor( edtGMSay, 4288060058 )
UI_SetLabelExFont( edtGMSay, DEFAULT_FONT, TRUE, COLOR_BLACK )
UI_SetEditCursorColor( edtGMSay, 4288060058 )
UI_SetEditMaxNum( edtGMSay, 500)
UI_SetEditMaxNumVisible( edtGMSay, 500)
UI_SetEditCursorColor( edtGMSay, 4288060058 )

put this photo inside your client  texture\ui

Edited by mkhzaleh
  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×