Jump to content

Jaysds1

Members
  • Posts

    4,961
  • Joined

  • Last visited

Everything posted by Jaysds1

  1. UPDATED PACKAGE: Syntax Checker: Download Highlighter and Auto-Completion: Download Added new 1.3.1 functions
  2. try using these: getWorldFromScreenPosition getScreenFromWorldPosition
  3. http://search.conduit.com/?ctid=CT25893 ... chSource=1
  4. It's possible but in scripting... Map editor only adds objects. You could script a line using: dxDrawLine but you would need to get the player's position.
  5. Do you have the model ID for those? if you do, then you could use: dxDrawLine for the road.
  6. Please download and run this MTADiag then post the generated Pastebin url here (if it continues to not crash).
  7. Jaysds1

    help

    try this: http://www.pcwintech.com/port-forwardin ... l-firmware
  8. Jaysds1

    help

    Do you have Team Viewer? if you do, please PM me your id and pass
  9. UNLESS.... you format your computer buy some new parts and then you are set
  10. math.abs math.acos math.asin math.atan math.atan2 math.ceil math.cos math.cosh math.deg math.exp math.floor math.fmod math.frexp math.huge math.ldexp math.log math.log10 math.max math.min math.mod math.modf math.pi math.pow math.rad math.random math.randomseed math.sin math.sinh math.sqrt math.tan math.tanh string.byte string.char string.dump string.find string.format string.gfind string.gmatch string.gsub string.len string.lower string.match string.rep string.reverse string.sub string.upper table.concat table.foreach table.foreachi table.getn table.insert table.maxn table.remove table.setn table.sort
  11. sorry, but airboats aren't in the IsWorldSpecialPropertyEnabled database, check here to see what's available: https://wiki.multitheftauto.com/wiki/IsW ... rtyEnabled
  12. or you could use: setElementVisibleTo anyways, try this: function invisibility(source) if not isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)),aclGetGroup("admin"))then outputChatBox("Sorry, but you can't use this command!",source) return end local sourceVeh = getPedOccupiedVehicle(source) if getElementAlpha(sourceVeh) > 200 then setElementAlpha(sourceVeh, 0) outputChatBox("#FF0000Your car is now invisible.", source, 0, 255, 0, true) else setElementAlpha(sourceVeh, 255) outputChatBox("#FF0000Your car is now visible.", source, 0, 255, 0, true) end end addCommandHandler("v_inv", invisibility)
  13. here's how the html file would look after the script runs: > > >"TNS MTA :: Client Logs :: 2012-11-7"> ="text/css">body{ font-family: Tahoma; font-size: 0.8em; background: #000000; } p{ padding: 0; margin: 0; } .v1{ color: #AAAAAA; } .v2{ color: #DDDDDD; } .v3{ white-space:pre; } > > > >> try this: local xmlFile = nil local xmlNode = nil local yearday, hour local time = getRealTime( ) yearday = time.yearday hour = time.hour local fileName = ( "TNSlogs/%04d-%02d-%02d/%02d.html" ):format( time.year + 1900, time.month + 1, time.monthday, hour )--already defined hour as year.hour xmlFile = xmlLoadFile( fileName ) if not xmlFile then xmlFile = xmlCreateFile( fileName, "html" ) local head = xmlCreateChild( xmlFile, "head" ) local title = xmlCreateChild( head, "title" ) xmlNodeSetValue( title, ( "TNS MTA :: Client Logs :: %04d-%02d-%02d" ):format( time.year + 1900, time.month + 1, time.monthday ) ) local style = xmlCreateChild( head, "style" ) xmlNodeSetAttribute( style, "type", "text/css" ) xmlNodeSetValue( style, "body { font-family: Tahoma; font-size: 0.8em; background: #000000; } p { padding: 0; margin: 0; } .v1 { color: #AAAAAA; } .v2 { color: #DDDDDD; } .v3 { white-space:pre; }" ) xmlNode = xmlCreateChild( xmlFile, "body" ) xmlSaveFile( xmlFile ) else xmlNode = xmlFindChild( xmlFile, "body", 0 ) end He's trying to make a webpage using xml.
  14. Sorry, but did you check here: community.multitheftauto.com
  15. That wont work, getResourceConfig would check the meta.xml for config files. only way to open up the meta.xml is to use xmlLoadFile here, try this: local metaXML = xmlLoadFile("meta.xml") local metaAuthor = xmlNodeGetAttribute(metaXML, "author")
  16. Jaysds1

    help

    ok, What router do you have?
  17. oh, sorry, ok, images could look different for anyone, so if it looks HD for you then it might not look HD for others, because of many reasons. 1. Their resolution might be lower than their actual screen resolution 2. Image might look smaller/larger etc.... ect.... but the only thing I could tell you to do, is edit the image(if you are good at art).
  18. well, we would need the scripters permission unless we make something our selves with out copying from the resource.
  19. Jaysds1

    help

    or check this forum out: viewtopic.php?f=114&t=33722&hilit=+Port+Problem
  20. Jaysds1

    Fakeserver

    Hi, Sorry to hear about this but MTA is trying to come up with a solution for people stealing server names.
  21. you need to update your 'service pack' current: 2 latest: 3
×
×
  • Create New...