CallumD
Members-
Posts
49 -
Joined
-
Last visited
Everything posted by CallumD
-
What about handlingSetTractionMultiplier ?
-
What about handlingSetTractionMultiplier ?
-
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.
-
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.
-
https://wiki.multitheftauto.com/wiki/PlaySound
-
https://wiki.multitheftauto.com/wiki/PlaySound
-
Do you run loads of other programs such as IRC, MSN, Steam, Xfire, etc, while your playing?
-
At least speak English, and this forum is for "Older MTA:VC/GTA3 versions".
-
You know there is a LAN tab in the server list? Just use that.
-
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.
-
Well, if you look at your you've left it blank. Get your IP from here and put it in the node.
-
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.
-
As I said, there is no clientSubmitCreate function. So the register button is triggering nothing.
-
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.
-
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)
-
No errors at all, just the grid list is empty.
-
Well, how exactly do you want it to work?
-
What exactly do you need help with?
-
Binds aren't saved if your game crashes, although I'm sure they save when manually quitting, rejoining, a server.
-
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.
-
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.
-
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)
-
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
-
The function isn't triggered. Try adding this to the bottom of the script: addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), onResourceStart )
-
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.