Evil-Cod3r Posted February 29, 2012 Share Posted February 29, 2012 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
mjau Posted February 29, 2012 Share Posted February 29, 2012 Could u atleast tell what you want/ trying to make ? Link to comment
Evil-Cod3r Posted February 29, 2012 Author Share Posted February 29, 2012 Simple Msg He Select Player He want and type the msg and press send ! and the msg go to player ! Link to comment
mjau Posted February 29, 2012 Share Posted February 29, 2012 https://wiki.multitheftauto.com/wiki/Cli ... _Functions https://wiki.multitheftauto.com/wiki/Cli ... ing_Events https://wiki.multitheftauto.com/wiki/Ser ... _Functions https://wiki.multitheftauto.com/wiki/Ser ... ing_Events find them trough theese it is categorized so if u don t know name of a gui function simply find it on client scripting functions Link to comment
Evil-Cod3r Posted February 29, 2012 Author Share Posted February 29, 2012 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
Kenix Posted February 29, 2012 Share Posted February 29, 2012 Learn viewtopic.php?f=91&t=40809 Link to comment
Evil-Cod3r Posted February 29, 2012 Author Share Posted February 29, 2012 its Hard can i get help Link to comment
Kenix Posted February 29, 2012 Share Posted February 29, 2012 You forgot 2 'end'. its Hard can i get help lol? You need learn lua. Link to comment
Evil-Cod3r Posted February 29, 2012 Author Share Posted February 29, 2012 at least help me a litel with it Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now