-
Posts
877 -
Joined
-
Last visited
Everything posted by denny199
-
I tried different codes, but I still didn't find out why it didn't work: Like: function naamen() housenumber = 0 root = xmlLoadFile ("homes.xml") local houseHeadRootNode = xmlFindChild (root,"houses",0) local houseRootNode = xmlFindChild (houseHeadRootNode,"house",tonumber(housenumber)) for _, shader in ipairs ( xmlNodeGetChildren ( houseRootNode ) ) do local name = xmlNodeGetName ( shader ):gsub ( "NAAM_", "" ) outputChatBox ( name ) end end end addCommandHandler ( "testname", naamen ) But nothing happens...
-
Hey there, I was making a new house system, but now I have got a problem I don't know how I can get this: <houses> <house dim="0" interior="1" num="0" x="2132.9653320313" y="-1309.9451904297" z="23.981597900391" lx="2126.8481445313" ly="-1320.8674316406" lz="26.624277114868" cost="55555" owner="denny19" street="DenR Kutjes Street" sellprice="55555" lockStatus="unlock" NAAM_ah_grepaper2="http://www.mostert.org/3dindepraktijk/afbeeldingen/h4/cedfence.jpg" NAAM_ah_grepaper2="http://frexpaper.com/wp-content/uploads/2013/01/Wood-texture-image.jpg"></house> </houses> --etc... These lines from the file: NAAM_ah_grepaper2="http://www.mostert.org/3dindepraktijk/afbeeldingen/h4/cedfence.jpg" and this line: NAAM_ah_texturename1="http://frexpaper.com/wp-content/uploads/2013/01/Wood-texture-image.jpg" etc.. etc.. My local code of getting line one and further of the xml file. housenumber = 0 root = xmlLoadFile ("homes.xml") local houseHeadRootNode = xmlFindChild (root,"houses",0) local houseRootNode = xmlFindChild (houseHeadRootNode,"house",tonumber(housenumber)) -- don't know how to continue So, how can I get those two lines? Kindly Regards, Danny
-
I have fixed the error, our router was a little bit broken ;p Thanks anyways
-
outputChatBox( "*"..getPlayerName(getPlayerFromName("[DenR]Danny"))..": Dammm, dan heb ik teveel mta gespeelt", root, 255,0,0,true )
-
I can maybe help you with some things if you want Like car races ? ( just racing agaibst other people) Or other things ;-p For free ofc
-
Asking to myself is a bit weird.... Is maybe the problem my anti ddos on the server,because im editting the files with filezilla
-
ofcourse not, I'm the only one who has got a timed out... I got this to with other scripts.
-
Hi there, I've searched difference topics, but I couldn't find any answer on my question When I'm scripting and then when I'm restarting the script I'm getting somtimes this error: Download error: Error downloading requested files. Couldn't connect to server. [Failed connect to ***.****.****.***; No error] [nametags/nametags.lua] And when I'm reconnting I'm getting the error again, ( the other players aren't getting the error ) After some reconnects and mta restart, it works perfect again... And sometimes I'm getting a crash. My internet is always on, without problems Speedtest: P.S: IDK If I'm in the right section P.S2: My internet router is sometimes down the last time, but when I'm repluggin the internet adapter it works fine ( last time it happenend was 3 days ago ) Kindly Regards, Danny
-
This one?: https://community.multitheftauto.com/ind ... ils&id=955
-
Chek the arguments.. outputChatBox ( string text [, element visibleTo=getRootElement(), int r=231, int g=217, int b=176, bool colorCoded=false ] ) So,: outputChatBox ( "#FF0000Hello #00FF00World", value, 255,0,0,true )
-
Yes, my GPU model is 6970. But why should I change it, my temperature is fine now ;p Temps right now: And with bf3 on it will be 5~15C higher ;p ( everything on ultra ofc )
-
Sure, here you go: The tower: The place where I'm gaming ;p: Inside: My specs ( from dxdiag ): (I was bored to )
-
A: Sure, "one word" Q:What was your first scary experience on mta?
-
Aah, thanks for the answers, I'll take some time tommorow to look into it
-
Hey there, I was working on something big, but then I have got a problem, when I have created a scrollpane and create the images over it, the scrollbar isn't showing, is this a bug or something else? Because I never worked with scrollpanes Here's my code: [ not full ] ~because you only need this part musicsong = -0.010 nummerwit = 0 songs = { {"America - A horse with no name","http://netanimations.net/A-Horse-With-No-Name.mp3"}, {"Beatfreakz - Superfreak","http://shemet.in/~klav/Music/Dance%20Disko%20Electronik/Various/Beatfreakz%20-%20Superfreak%20(Radio%20Edit)%[email protected]"}, {"Swedish House Mafia - Greyhound","http://www.vincesteven.com/IMG/mp3_Swedish_House_Mafia_-_Greyhound_Original-Mix_.mp3"}, {"Bobby Burn - I'm from Holland","http://users.telenet.be/melissaris/holland.mp3"}, {"Psy - Gangnam style","http://a.tumblr.com/tumblr_m8nexkKWB61qlpz0ko1.mp3"}, {"RTC - Army of Hardcore","http://gratuitfr.free.fr/thunderdome%20-%20army%20of%20hardcore.mp3"}, {"Eminem - The real slim shady","http://1cd.palco.fm/1/c/3/b/beltrao-eminem-the-real-slim-shady.mp3"}, {"David Guetta ft Sia - Titanium","http://a.tumblr.com/tumblr_m3j6avWuZ81qch4ruo1.mp3"}, {"Dj Paul Elstak - Blood Sweat Hardcore","http://hardcore.ru/music/mp3/200/31.mp3"}, {"Skrillex - Scary Monsters and Nice Sprite","http://thenewmontreal.com/wp-content/uploads/audio/Scary-Monsters-and-Nice-Sprites.mp3"}, {"AntiDJ - Dance or die cd1 Progressive house","http://freedownloads.last.fm/download/254068161/Dance+or+Die+-+CD+1.mp3"}, } function importtest () display = guiCreateStaticImage(0.0921, 0.1745, 0.8204, 0.6793,"iphoneback.png", true, ipod ) scrollpanem = guiCreateScrollPane(0.0000,0.0887 - 0.010,0.9958,0.9975,true,display) for i,v in ipairs (songs) do nummerwit = nummerwit + 1 musicsong = musicsong + 0.0887 wit[ nummerwit ] = guiCreateStaticImage(0.0000,musicsong,0.9958,0.0887,"img/wit.png", true, scrollpanem ) songnummer[ nummerwit ] = guiCreateLabel(0.0000,0.0000,0.9958,0.9167, tostring(v[1]),true,wit[ nummerwit ]) guiLabelSetHorizontalAlign ( songnummer[ nummerwit ], "center" ) guiLabelSetVerticalAlign ( songnummer[ nummerwit ], "center") guiLabelSetColor ( songnummer[ nummerwit ], 0, 0, 0 ) guiSetFont(songnummer[ nummerwit ], "default-bold-small" ) end end addCommandHandler ( "importme", importtest ) Regards, Danny
-
So there is not a function like": getVehicleModelOffset or something like that ;p I know enough thanks.
-
@myonlake engineApplyShaderToWorldTexture ( element shader, string textureName [, element targetElement = nil, bool appendLayers = true ] ) plox, the 3th argument: targetElement.
-
Har, Hay there. So, I was making a script, the script is attaching a object to the players vehicle, but now is my question is, how can I attach the object exactly next to the car like the image underneath without tables/other crap. Some images with my paint skilsz 0.o: Good position: Click here for image same script with bad position: Click here for image2 My script: local neondanny = { } local neondanny2 = { } addCommandHandler ( "neon", function(player) if isPedInVehicle ( player ) then car = getPedOccupiedVehicle ( player ) if (isElement ( neondanny[ car ])) then destroyElement ( neondanny[ car ] ) elseif not (isElement ( neondanny[ car ])) then neondanny[ car ] = createObject ( 2079, 0, 0, 0 ) attachElements ( neondanny[ car ], car, -1.0,0,-0.58 ) setObjectScale ( neondanny[ car ], 1.5 ) setElementCollisionsEnabled(neondanny[ car ], false) neondanny2[ car ] = createObject ( 2079, 0, 0, 0 ) attachElements ( neondanny2[ car ], car, 1.0,0,-0.58 ) setObjectScale ( neondanny2[ car ], 1.5 ) setElementCollisionsEnabled(neondanny2[ car ], false) end end end) I hope that you guys can help me. Kindly regards -Danny
-
Je hebt teveel mta gespeelt als je een probleem hebt en dan om een admin vraagt.
-
Als je zoals cj huizen probeert te gaan klimmen
-
Het is geen bug je moet het scripten ik kan je niet helpen nu omdat ik op me ipod zit Maar je moet zegmaar race aanpassen , als je daarnee hulp nodig hebt dan moetjd mij een pm sturen
-
Stolen https://community.multitheftauto.com/ind ... ls&id=2518 Script by CrystalMV (http://crystalmv.net84.net) DONE
-
Is it for race? then use this: addEvent("onRaceStateChanging",true) addEventHandler("onRaceStateChanging",root, function (new, old) if (new == "GridCountdown") then for i,v in pairs(getElementsByType("player")) do local playerVehicle = getPedOccupiedVehicle(v) setVehicleColor ( playerVehicle, math.random(255), math.random(255), math.random(255), math.random(255), math.random(255), math.random(255) ) end end) Edit: and happy 2013!
-
setTimer setElementHealth and getElementHealth example: setElementHealth ( getElementHealth(playerement) + 1 ) then repeat this step with the timer 100 for examle 100 times so: setTimer ( functionname, 50, 100 ) -- excecute the function 100 times in 50 miliseconds
