Jump to content

keymetaphore

Members
  • Posts

    175
  • Joined

  • Last visited

Everything posted by keymetaphore

  1. Your version may not be correct, check your file permissions. Also use MTA inbuilt MySQL functions. dbConnect() dbQuery() dbPrepareString() -- and many more, use them instead of the outdated module
  2. keymetaphore

    synchronization!

    Players already should be synchronized. Could you tell a bit more? Maybe I didn't understand it.
  3. You got it? Lost my software, haha. You just gotta download the newest server (should come with the installation), replace all .exe's and .dll's. There is a chance, that if the server is from 1.3, dbConnect () functions aren't there, so you gotta download the newest mysql module for MTA 1.5 or better move to built in functions. @willieisback
  4. Get to the server and change all of the DLL's or .so's. I'll just make a video for ya, hang out a sec. it's gonna be raw
  5. Why can't you change server's version?
  6. Where is the table located? Is the table OK?
  7. I'll look for another one, I remember using one of 'em.
  8. http://mta.cemgokmen.com/converter/
  9. You have to start with something. Do you have any previous experience?
  10. Hey. Today I was creating a CEGUI based resource system, that would allow easier start/stop of resources. I wanted to make more features, but I won't speak about that. So, in serverside, I created a function that stores getResources() in a variable, and triggers it to client. When I loop thru the table in clientside with ipairs(), nothing happens. I tried it with outputChatBox, and nah. No errors in debugscript. -- server side addEvent("getResourcesGUI", true) function resourceGUI () resursi = getResources() triggerClientEvent(client, "openGUI", resourceRoot, resursi) end addEventHandler("getResourcesGUI", resourceRoot, resourceGUI) -- client side addEvent("openGUI", true) function init (resursi) for k, v in ipairs (resursi) do outputChatBox("hi, i spammer 100 resources") end end addEventHandler("openGUI", resourceRoot, init) Oh, and ipairs() work serverside. So, it doesn't work after passing to client. When I tried to outputChatBox the table ( know its dumb, just to check if it passed ), it shows that it tried to output table, so that's correct. And all events get passed, the serverside gets called by another function, but that's not revelant.
  11. I like it, but yeah, that glass 4 pool looks real bad. 8/10 as aka blue said.
  12. Is the ped spawned with spawnPlayer? Are you using it for ped or a player? If you used setElementPosition to spawn the ped/player, this function will not work and returns false. Show some code.
  13. Remember, that if it's in an interior / dimension, you have to do setElementDimension() / setElementInterior() good luck
  14. shouldn't the handler be attached to marker, not object?
  15. Well, make it so crashes doesn't happen. If they do happen though, you could add a timer too, but not for too short period.
  16. For me, it saves all the vehicles on my DB (including their health), when resource stops.
  17. Hi. So, I am facing a huge prblem now. MTA is eating all of my resources. Really, I can run CS:GO on ~ 300 FPS , but when MTA is open, even in the menu, I can't do ANYTHING, everything is lagging in widnwos, I can't type. I am typing this with gum writing this when MTA is open, and It' s almost impossible. I have only MTA and forum.multitheftauto.com open right now, I guess it shouldn';t be like that. + When I am ingame, like in a server, everything is going smoothly, only windows is lagging.
  18. yes make sure u set it to 50ms so your server gets lagged it would be like setTimer(function() do what you wanted to do end, 250, 0) the 250 is delay, it will check that every 250ms, you probably can make it longer so that's less performance impact, and 0 means that it's infinite.
  19. Only thing I understood is that people are stealing your clientside scripts, even when they are compiled. There is no big fix for that, but you could try to make it work only if the servername and some other things match with those ones specified in that script. Still, I am not sure if I understood your question as there wasn't a question.
  20. Haha, that guy is not serious.
  21. dbPoll( dbQuery( usedata_db it's usedata_db here dbQuery( userdata_db, "INS and userdata_db here do you have 2 variables or you typed it incorrectly? @Asokanta
  22. Delete the whole MTA folder and reinstall.
  23. Well, I'll edit this in a minute, but is that your script, or did you downloaded it? @Wulffe
×
×
  • Create New...