-
Posts
4,961 -
Joined
-
Last visited
Everything posted by Jaysds1
-
UPDATED PACKAGE: Syntax Checker: Download Highlighter and Auto-Completion: Download Added new 1.3.1 functions
-
try using these: getWorldFromScreenPosition getScreenFromWorldPosition
-
The Confusion / GTA SA MOVIE !! must to watch it!
Jaysds1 replied to thetaxistseries's topic in Media
nice, How did you got those voices? -
http://search.conduit.com/?ctid=CT25893 ... chSource=1
-
change it to server-sided please
-
is the script server-sided?
-
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.
-
Do you have the model ID for those? if you do, then you could use: dxDrawLine for the road.
-
Please download and run this MTADiag then post the generated Pastebin url here (if it continues to not crash).
-
try this: http://www.pcwintech.com/port-forwardin ... l-firmware
-
ya, that code is correct
-
Do you have Team Viewer? if you do, please PM me your id and pass
-
UNLESS.... you format your computer buy some new parts and then you are set
-
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
-
Flying boats like an flying cars - it's possible?
Jaysds1 replied to Linux_Shines's topic in Scripting
sorry, but airboats aren't in the IsWorldSpecialPropertyEnabled database, check here to see what's available: https://wiki.multitheftauto.com/wiki/IsW ... rtyEnabled -
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)
-
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.
-
Sorry, but did you check here: community.multitheftauto.com
-
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")
-
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).
-
well, we would need the scripters permission unless we make something our selves with out copying from the resource.
-
or check this forum out: viewtopic.php?f=114&t=33722&hilit=+Port+Problem
-
Hi, Sorry to hear about this but MTA is trying to come up with a solution for people stealing server names.
-
you need to update your 'service pack' current: 2 latest: 3