Jump to content

demojoel

Members
  • Posts

    41
  • Joined

  • Last visited

Details

  • Gang
    The Brotherhood

demojoel's Achievements

Rat

Rat (9/54)

0

Reputation

  1. Thanks for the help! Will try these.
  2. The server has 100 FPS selected.
  3. Not sure if this is the correct place for this post, but oh well... Recently I have been having issues with a server. The server keeps lagging to the point nothing works in game. I have found out it's a problem with the CPU, and not the network. The CPU is a quad core hyper threaded, and the problem is... When the server is running, sometimes 1/8 of the cores hits 100% and the server just lags out in which then the server will need to be stopped and then started again. I have tried a backup before it started and it still happens, so it's not a script issue. Many thanks.
  4. Ok, thanks for the quick reply.
  5. I was wondering, now that we're in 2013 does getRealTime() support 2013 because it is currently causing a lot of problems for me.
  6. Ahh, now i see... i will try this out. Thanks for the help!
  7. Hello, today I have been having a problem with the dxDrawText & dxDrawRectangle. I assign a button to trigger a function which looks similar to this: local screenX, screenY = guiGetScreenSize() function example () dxDrawText(getElementData(resourceRoot, "server:1") or "", screenX / 2 + 220, screenY / 2 - 220, 20, 120, tocolor(255, 255, 255, 255), 1, "default-bold", "center", "top", true, false) dxDrawText(getElementData(resourceRoot, "server:2") or "", screenX / 2 + 220, screenY / 2 - 200, 20, 120, tocolor(255, 255, 255, 255), 0.9, "default-bold", "center", "top", true, false) dxDrawText(getElementData(resourceRoot, "server:3") or "", screenX / 2 + 220, screenY / 2 - 180, 20, 120, tocolor(255, 255, 255, 255), 0.9, "default-bold", "left", "top", true, true) end Once pressed, the text appears for about 0.01 milliseconds then disappears. I have never encounted this problem before, If anyone has a solution to this, it will be much appreciated.
  8. Is it possible to link 2 servers to 1 database? If so how?
  9. What do you mean by that?
  10. Is this correct? function removeWorldModel() removeWorldModel(1260,200,615,-1509,30) -- Billboard removeWorldModel(0,200,615,-1509,30) -- Billboard end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), removeWorldModel)
  11. What is the "float x, float y, float z" used for in removeWorldModel?
  12. Does anyone have a script that can go to an X Y Z position?
  13. demojoel

    SQL help

    Hey guys, i'm having a little problem with the sql making the 'ID' column. **Problem Solved**
  14. How would I change a vehicles handling, so i can edit the settings like the speed. Would i have to import this the same as the TXD and DFF?
×
×
  • Create New...