Jump to content

Risk

Members
  • Posts

    4
  • Joined

  • Last visited

Details

  • Gang
    N/A

Recent Profile Visitors

537 profile views

Risk's Achievements

Vic

Vic (3/54)

0

Reputation

  1. Good day. I've just switched from Windows to Linux(Ubuntu). I have been playing the game for a long time on Windows with no problems. I used Wine as in the Linux manual and everything is great although I had some problems running GTA and MTA but I managed to fix them all till I could run MTA. My problem now is once I connect to any server the map loads and that resources circle appears(with MBs) then the game crashes. I've tried deleting gta_sa.set, coreconfig.xml and D3D9.dll, updated DirectX and installed the last patch of MTA but nothing worked.. Screenshot of crash log & MTADiag log I don't know if this helps or not, I can connect to my local server without crashing. Aand I also crash when I try to open "Web Browser" tab in settings..
  2. Risk

    ban system

    dbQuery returns a table like this: result = { { key = value } } even if you get a single row use result[1]. In your case it would be ban[1]. However, that's just a guess. Why are you using the column name IP and you store player's serial in it? I'd recommend to rename the column to serial so people know what's stored inside it.
  3. I have re-written the code and cleaned it up a bit for you, not tested though but should work: local Access = { ["None"] = true, ["*-*"] = true, } function warpall(playerSource) if (Access[getAccountName(getPlayerAccount(playerSource))]) then local x, y, z = getElementPosition(playerSource) for i, player in ipairs(getElementsByType("player")) do setElementPosition(player, x, y, z) end end end addCommandHandler("warpall", warpall)
×
×
  • Create New...