-
Posts
877 -
Joined
-
Last visited
Everything posted by denny199
-
start runcode put your'e name there /run call(getResourceFromName("neon"),"addNeon",getPedOccupiedVehicle(getPlayerFromName("YOURNAMEHERE")),true) or just excecute it with the admin panel
-
Do you have much more resources running? Do you have the lasted build?
-
Allright thanks, I already know this part again , I was dumb now.
-
Hmm, I don't understand you right so I need to change this?: elseif checkpoint <= 31 then to this:? elseif checkpoint >= 31 then I'm mind f*cked
-
Hey there, i've helping my mate with a map but now we've got some problems with our script. evrything is working fine until chekpoint 27 When I hit chekpoint 26, I'm getting a random plane from the plane table. When i hit chekpoint 27, I'm getting a random car, that needs to be a plane. And when I hit chekpoint 28 it's getting the randomcar again. so, what wrong in my code? local carids = {568, 424, 573, 579, 400, 500, 444, 470, 489, 490, 495, 468, 471} local planeids = {592, 577, 511, 512, 593, 520, 553, 475, 519, 460, 513} local boatids = {471, 473, 493, 595, 484, 430, 453, 452, 446, 454} function randomCar(checkpoint, time) local veh = getPedOccupiedVehicle(source) if 1 <= checkpoint and checkpoint <= 25 then setElementModel (veh, carids[math.random(#carids)]) elseif checkpoint <= 26 then setElementModel (veh, planeids[math.random(#planeids)]) elseif checkpoint <= 31 then setElementModel (veh, carids[math.random(#carids)]) elseif checkpoint <= 35 then setElementModel (veh, boatids[math.random(#boatids)]) end end addEvent('onPlayerReachCheckpoint') addEventHandler('onPlayerReachCheckpoint', getRootElement(), randomCar)
-
get the lod and id with map editor? Click for more information here: https://wiki.multitheftauto.com/wiki/RemoveWorldModel
-
You don't need to use " dxDrawLine3D ( 1396.0999755859, -2577.8999023438, 13, 2068.6000976563, -2577.8999023438, 13, tocolor ( 0, 255, 0, 230 ), 2) syntax: bool dxDrawLine3D ( float startX, float startY, float startZ, float endX, float endY, float endZ, int color[, int width, bool postGUI ] ) for more DxDrawLine3D examples go to: https://wiki.multitheftauto.com/wiki/DxDrawLine3D
-
what triggers the function? which handler?
-
Well, I don't gonna script it for you, but you can save it on a account, if you don't know how, then you should pay somebody else arround here or just script it on yourself heres a link: https://wiki.multitheftauto.com/wiki/Scripting_Introduction
-
[SOLVED] It is impossible to change clothes CJ in RACE
denny199 replied to [EFO]Kesha_F1's topic in Scripting
Try to debug it. Because it's race it's not working on it I think just typ /debugscript 3 function onEnterVehicle ( theVehicle, seat, jacked ) addPedClothes ( source, "helmet", "helmet", 16 ) addPedClothes ( source, "glasses03blue", "glasses03", 15 ) addPedClothes ( source, "tshirtwhite", "tshirt", 0 ) addPedClothes ( source, "sneakerproblu", "sneaker", 3 ) addPedClothes ( source, "bbshortwht", "boxingshort", 2 ) outputChatBox ( "function pl0x 0.o" ) end addEventHandler ( "onPlayerVehicleEnter", getRootElement(), onEnterVehicle ) -
a simple search on the communty : https://community.multitheftauto.com/index.php?p=resources&s=details&id=977 this resource saves this: save all weapons and ammo money skin health armor position name tag color interior dimension wanted level -TEAM!! - https://community.multitheftauto.com/index.php?p=resources&s=details&id=2833 -- teams script. idk if you mean this
-
https://wiki.multitheftauto.com/wiki/SetInteriorSoundsEnabled ? -- this is for all interiors edit: for setWorldSoundEnabled start first runcode typ in: /crun setDevelopmentMode ( true ) [ https://wiki.multitheftauto.com/wiki/SetDevelopmentMode ] then typ /debugscript [mode] (I prefer 3 for all errors) and then /showsound [ https://wiki.multitheftauto.com/wiki/Client_Commands#showsound ]
-
that's true. But he doesn't say that it needs to be canceled for all vehicles.
-
I had this too, that 'theVehicle' isn't working anymore with that handler use getPedOccupiedVehicle() that should work.
-
I saw the bug tracker and thank you for your'e replay, i think it comes arround mta 1.4 or 1.5 or 1.6 [ I think ]
-
Hey there, I don't know if I'm on the good section. but I've got a question about engineLoadIFP() bugtracker says a unknow date maybe can someone help me out when it's gonna be released? maybe mta 1.4 ? I think that developers has got it busy with other things like bugs, but I'm only asking Greetings Danny
-
... You can easy script it just download shader_tex_names.zip from here: https://wiki.multitheftauto.com/wiki/Shader_examples then find out what the name is and then apply the color with a shader..
-
First off all what does /debugscript 3 says? and the second this might be the error: 2 times ()?? function startJob ( )( hitElement, matchingDimension ) anyways: local theTeam = createTeam ( "Taxi Drivers" ) local VehMarker1 = createMarker ( 297.669372255859, 1938.08776855859, 18, "cylinder", 2, 0, 0, 255, 153) function spawnveh ( hitElement, matchingDimension ) local elementType = getElementType ( hitElement ) if ( elementType == "player" ) then setPlayerTeam ( hitElement, theTeam) setPlayerSkin( hitElement, 210) local x, y, z = getElementPosition ( hitElement ) local vehicle = createVehicle ( 597, x + 5, y, z ) end end addEventHandler ( "onMarkerHit", VehMarker1, spawnveh ) edit: Tip: You should make a table with random positions and then unpack a random position then create a marker on that position. and then add an handler on it. because this is a tottaly mess.
-
acutally you can HIDE it with shaders
-
A: No. Q: Do you love the netherlands? [weed]
-
first, ur'e doing wrong is this: addEventHandler ( "/close", CloseGates ) [lua]addEventHandler ( "/open, OpenGates ) [/lua] it must be: addCommandHandler ( "close", CloseGates ) addCommandHandler ( "open", OpenGates ) the second why are you using : id = getElementModel ( thePlayer ) ? I don't see it back in the function and the last thing press full editor then press the lua button
-
A: Yes Q: Umad Bro?
-
A: Because I'm lazy Q:Do you love this video Capy: ?????
