Jump to content

Help With Gui Thing


Evil-Cod3r

Recommended Posts

Hi i just created this but what is the functions and event to Complete this script ?

  
GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
GUIEditor_Grid = {} 
GUIEditor_Image = {} 
  
GUIEditor_Window[1] = guiCreateWindow(448,181,569,320,"Msg_System By Dev-PoinT",false) 
guiWindowSetMovable(GUIEditor_Window[1],false) 
guiWindowSetSizable(GUIEditor_Window[1],false) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,551,290,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) 
GUIEditor_Grid[1] = guiCreateGridList(3,7,292,277,false,GUIEditor_Tab[1]) 
guiGridListSetSelectionMode(GUIEditor_Grid[1],2) 
  
guiGridListAddColumn(GUIEditor_Grid[1],"Players",0.2) 
GUIEditor_Button[1] = guiCreateButton(343,242,167,35,"Send !",false,GUIEditor_Tab[1]) 
guiSetFont(GUIEditor_Button[1],"clear-normal") 
GUIEditor_Edit[1] = guiCreateEdit(299,181,249,59,"",false,GUIEditor_Tab[1]) 
GUIEditor_Image[1] = guiCreateStaticImage(319,25,208,146,"images/msg.png",false,GUIEditor_Tab[1]) 

Link to comment

Like this to get Players Name ?

GUIEditor_Window = {} 
GUIEditor_TabPanel = {} 
GUIEditor_Tab = {} 
GUIEditor_Button = {} 
GUIEditor_Edit = {} 
GUIEditor_Grid = {} 
GUIEditor_Image = {} 
  
GUIEditor_Window[1] = guiCreateWindow(448,181,569,320,"Msg_System By Dev-PoinT",false) 
guiWindowSetMovable(GUIEditor_Window[1],false) 
guiWindowSetSizable(GUIEditor_Window[1],false) 
GUIEditor_TabPanel[1] = guiCreateTabPanel(9,21,551,290,false,GUIEditor_Window[1]) 
GUIEditor_Tab[1] = guiCreateTab("Tab",GUIEditor_TabPanel[1]) 
GUIEditor_Grid[1] = guiCreateGridList(3,7,292,277,false,GUIEditor_Tab[1]) 
guiGridListSetSelectionMode(GUIEditor_Grid[1],2) 
  
local they = guiGridListAddColumn(GUIEditor_Grid[1],"Players",0.2) 
if ( they ) then 
for id, playeritem in ipairs(getElementsByType("player")) do  
guiGridListSetItemText ( GUIEditor_Grid[1], row, they, getPlayerName ( playeritem ), false, false ) 
GUIEditor_Button[1] = guiCreateButton(343,242,167,35,"Send !",false,GUIEditor_Tab[1]) 
guiSetFont(GUIEditor_Button[1],"clear-normal") 
GUIEditor_Edit[1] = guiCreateEdit(299,181,249,59,"",false,GUIEditor_Tab[1]) 
GUIEditor_Image[1] = guiCreateStaticImage(319,25,208,146,"images/msg.png",false,GUIEditor_Tab[1]) 

Link to comment

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...