Jump to content

sankalp21

Members
  • Posts

    26
  • Joined

  • Last visited

Everything posted by sankalp21

  1. I have no programmming sense for mta but i want to make a RPG server ... i used a resource named guieditor(link-https://forum.multitheftauto.com/viewtopic.php?f=108&t=22831 ) for making gui and i made a simple gui to test it but i am having trouble please help (i made this gui code with that guieditor... is this code correct please verify) GUIEditor = { button = {}, window = {}, label = {} } addEventHandler("onClientResourceStart", resourceRoot, function() GUIEditor.window[1] = guiCreateWindow(242, 203, 297, 185, "Intro", false) guiWindowSetSizable(GUIEditor.window[1], false) GUIEditor.label[1] = guiCreateLabel(47, 23, 205, 19, "Welcome to SKI-Skyline (RPG server)", false, GUIEditor.window[1]) GUIEditor.button[1] = guiCreateButton(88, 70, 103, 40, "Play", false, GUIEditor.window[1]) guiSetProperty(GUIEditor.button[1], "Tooltip", "start game") end ) i want to show this gui when i hit a marker please help ....
×
×
  • Create New...