Jump to content

CSMajor

Members
  • Posts

    9
  • Joined

  • Last visited

Details

  • Gang
    Aztecs

CSMajor's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. sorry about the post saying it was my problem haha, but it was a friends he needed help and he didnt have an acc so i did it for him saying it was me, but i am getting his files so ill reply ASAP
  2. i am getting this error when i try to play MTA, what causes it and how can i fix it?
  3. I have no idea how to approach this so can someone help me, not spoonfeed me though...
  4. well i didnt know that but still i want the command to show the syntax.... how would i do this
  5. another question, say i want to amke a login command with the syntax: /login username password, and in the server the user types /login, or /login CSMajor, how would i make it show the correct syntax to the player? for example USAGE:/login username password
  6. not to be rude or anything, but can you explain what you just added, and it needs to be lower because mywindow is not declared.... im new to mta so im confused haha. EDIT: tried it and it doesnt delete the window or allow me to click anything
  7. <meta> <info author="CSMAJOR" type="gamemode" name="TCK TEST" description="TCK Gammings first MTA Server :P" /> <script src="script.lua"/> <script src="client/gui.lua" type="client"/> </meta> and another question would i just load the server like i normally would and this will work? ok i got it working but i cant click anything on the gui, and i cant close it... how can i get rid of it etc.
  8. so i must create another xml line and state it as a client??? mmk i see i dont have it client sided i have it in my server. TYVM how would i go about doing it tho, im new haha
  9. function onPlayerCommand(thePlayer,command) local myWindow = guiCreateWindow ( 0, 0, 0.5, 0.4, "Information", true )--create a window which has "Information" in the title bar. local tabPanel = guiCreateTabPanel ( 0, 0.1, 1, 1, true, myWindow ) --create a tab panel which fills the whole window local tabMap = guiCreateTab( "Map Information", tabPanel ) -- create a tab named "Map Information" on 'tabPanel' local tabHelp = guiCreateTab( "Help", tabPanel ) -- create another tab named "Help" on 'tabPanel' -- adds a label (text) to each tab guiCreateLabel(0.02,0.04,0.94,0.2,"This is information about the current map",true,tabMap) guiCreateLabel(0.02,0.04,0.94,0.92,"This is help text.",true,tabHelp) outputChatBox("TEST:",thePlayer) end addCommandHandler("cmds",onPlayerCommand) Can someone tell me why this command seems not to work
×
×
  • Create New...