Jump to content

CallumD

Members
  • Posts

    49
  • Joined

  • Last visited

Everything posted by CallumD

  1. What about handlingSetTractionMultiplier ?
  2. What about handlingSetTractionMultiplier ?
  3. Won't that just make the download even longer? I think you get the time-out error because the server has so many players on such complex scripts it struggles to provide you with the resources before a time-out occurs.
  4. Won't that just make the download even longer? I think you get the time-out error because the server has so many players on such complex scripts it struggles to provide you with the resources before a time-out occurs.
  5. https://wiki.multitheftauto.com/wiki/PlaySound
  6. https://wiki.multitheftauto.com/wiki/PlaySound
  7. Do you run loads of other programs such as IRC, MSN, Steam, Xfire, etc, while your playing?
  8. At least speak English, and this forum is for "Older MTA:VC/GTA3 versions".
  9. You know there is a LAN tab in the server list? Just use that.
  10. If you want it to appear when they join the best thing would be onClientResourceStart, however, it will also trigger the GUI when the resource is (re)started. If you want it only on join then use onPlayerJoin (server-side) then triggerClientEvent.
  11. Well, if you look at your you've left it blank. Get your IP from here and put it in the node.
  12. I disabled non-logged in players from chatting using onPlayerChat and cancelEvent(), it also prevents them using console. The only thing it dosn't prevent is PM'ing. Although I might have a conflicting script or something.
  13. CallumD

    [help]logingui

    As I said, there is no clientSubmitCreate function. So the register button is triggering nothing.
  14. CallumD

    Ammunation

    Megaman, That's because it was designed for DP2.3. since then the scripting functions have changed and so therefore the script is outdated. You can try typing "upgrade" in your console. If it still dosn't work you will have to manually re-write some parts of it. JBoy, I think that's because of all the images on the GUI.
  15. CallumD

    [help]logingui

    Well, I recommend you scrap logingui and make your own from scratch. I find logingui is written a bit wierd. And if you look at the snippet of code below; there is no such function as "clientSubmitCreate" in your code. addEventHandler("onClientGUIClick",register,clientSubmitCreate,false)
  16. No errors at all, just the grid list is empty.
  17. CallumD

    [help]logingui

    Well, how exactly do you want it to work?
  18. CallumD

    [help]logingui

    What exactly do you need help with?
  19. CallumD

    My binds dont save

    Binds aren't saved if your game crashes, although I'm sure they save when manually quitting, rejoining, a server.
  20. My spawn menu is coded pretty badly so the client-side is about 1,000 lines big. So I've decided to shrink it down. I thought of making custom elements server-side and using them for the menu's contents. I don't get why the code below dosn't work (only snippets of the whole code of course). Server-side: city1 = createElement ( "city", "Los Santos" ) city2 = createElement ( "city", "Flint County" ) -- etc, etc Client-side: local cities = getElementsByType ( "city" ) for city, cityName in ipairs ( cities ) do local row = guiGridListAddRow ( cityGridList ) guiGridListSetItemText ( cityGridList, row, cityColumn, cityName, false, false ) end On the other hand, could anybody suggest a better way of storing the grid lists items? Preferably a way that clients don't download it.
  21. CallumD

    HTTP Error

    This error occurs if your resource contains a space in the name, if it does, then re-name it to something that dosn't include a space.
  22. Whenever I try making a vehicle the Map Editor either does nothing or makes a Sentinel regardless of the vehicle I choose. It's got to a point where I can't map any more vehicles now. I have always found Map Editor buggy but this major bug has been since MTA 1.0.2. I've tried re-installing MTA but that dosn't fix it. Does anybody know how to fix this? EDIT: I notied this debug error when opening the "Create vehicle" menu: ERROR: ..ods/deathmatch/resources/move_cursor/move_cursor.lua:58: attempt to preform arithmetic on upvalue 'minZ' (a nil value)
  23. try adding the following after the close button code (change "butttonNameHere" and "functionNameHere" of course): addEventHandler ( "onClientGUIClick", buttonNameHere, functionNameHere, false, false ) then make a function something like this: function functionNameHere () guiSetVisible ( skinGui, false ) guiSetInputEnabled ( skinGui, false ) end
  24. The function isn't triggered. Try adding this to the bottom of the script: addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart )
  25. I see it as a good thing. If they wern't all renamed there would be about 200 "Players" then they would get a "Disconnected: Nickname already in use." error from a lot of popular servers.
×
×
  • Create New...