Jump to content

GTX

Members
  • Posts

    1,273
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by GTX

  1. GTX

    Need Help...

    Are you trying to remove race pickup repair? See: viewtopic.php?f=91&t=32398&p=341825&hilit=+repair#p341831
  2. Uploaded without author's permission: https://community.multitheftauto.com/index.php?p= ... ls&id=5155 https://community.multitheftauto.com/index.php?p= ... ls&id=5022
  3. Hi, I'd like to show you my Vol2. Have fun!
  4. GTX

    few problems

    onClientGUIClick and onClientGUIAccepted, both have different parametres. Hence, these two conditions fail: function wonderful(state,thePlayer) if state == "left" then if ( source == sendbutton3 ) then end end end i guess function wonderful(button,thePlayer) if button == "left" then if ( source == sendbutton3 ) then is better It's same.
  5. Contact NeXTreme for that.
  6. All this can be found on wiki. https://wiki.multitheftauto.com/wiki/Mysql
  7. GTX

    color problem

    Show me your textlib.
  8. Uploaded without author's permission: https://community.multitheftauto.com/index.php?p= ... ls&id=5125 https://community.multitheftauto.com/index.php?p= ... ls&id=5126 https://community.multitheftauto.com/index.php?p= ... ls&id=5127
  9. Thank you very much, Csena!
  10. Use callRemote Check Example #2.
  11. Hi, I want to know how to do that: http://shrani.si/f/36/gH/eDCxxvv/gtasa- ... 4-53-0.png I want to know how to do this red smoke which is on the picture. Thanks in advance
  12. @denny199 I want to set a rotation of a cylinder. Tried that code and it really doesn't set rotation of a cylinder. Weird... I tried setElementPosition and it works... but setElementRotation doesn't...
  13. What? Do you want to move every player to other server?
  14. How to set a rotation of marker? Tried with setElementRotation but it doesn't work.
  15. Upload without author's permission: https://community.multitheftauto.com/ind ... ls&id=5041
  16. Hello, I'm wondering if it's possible to make in-game internet browser, like: IE, Firefox etc. If it's possible, what do I need to make it? Thanks in advance.
  17. GTX

    Question

    What? Do you want to get who unbanned? Take a look at example on karthik's link.
  18. fDistance is nil. It is not defined. About spam: https://wiki.multitheftauto.com/wiki/OnClientRender
  19. Does your [OS] map has hunter? If no, it will not work because of this: for _,e in pairs(getElementsByType("racepickup") or {}) do local t = getElementData(e,"type") if t and t == "vehiclechange" then local v = getElementData(e,"vehicle") if v and tonumber(v) == 425 then self.hasTimes = true break end end end if self.hasTimes then self:doToggleToptimes( true ) end To fix: for _,e in pairs(getElementsByType("racepickup") or {}) do local t = getElementData(e,"type") if t and t == "vehiclechange" then local v = getElementData(e,"vehicle") --if v and tonumber(v) == 425 then self.hasTimes = true break --end end end if self.hasTimes then self:doToggleToptimes( true ) end
  20. Then don't blow it. But I think it isn't a problem in a respawn script.
  21. GTX

    MySQL problem?

    How can I put a variable into that? So: local name = getPlayerName(name) outputChatBox[[name]] ? EDIT: Anyways, it doesn't work.
  22. GTX

    MySQL problem?

    Sorry for triple post but... I've no idea why it doesn't insert the "\". Tried with: local name = string.gsub(getPlayerName(name), "s/\|", "s/\\|") query = mysql_query(connect_mysql, "INSERT INTO `"..mapname.."` (name, time, date, serial, tag) VALUES('"..name.."', '"..time.."', '"..date.."', '"..serial.."','".. tag.."')")
  23. GTX

    MySQL problem?

    Hmm... I've no idea how to use that in a string.gsub: outputChatBox(string.gsub("s/\|GT#abc123X#ffffff#", "\", "\\"))? EDIT: I got it, thanks.
×
×
  • Create New...