Jump to content

iiv03

Members
  • Posts

    476
  • Joined

  • Last visited

  • Days Won

    1

iiv03 last won the day on August 29 2019

iiv03 had the most liked content!

1 Follower

Recent Profile Visitors

2,326 profile views

iiv03's Achievements

Hustler

Hustler (26/54)

26

Reputation

  1. Hey, i think ur answer is above in [Q/A] also u can pay with paypal [[email protected]] or https://payhip.com/b/6D9Nw
  2. hello there I think that I am banned in Discord server mta cuz of what I really forgot about the problem i left from the game about 1.5 years due to circumstances and came back a month ago, but I would like to apologize to what I did previously of a problem that was banned and I want to say I am v.sorry. I would like to request unbanned me and thx my discord account: ! Yukino 熱い#5613
  3. I tried created a road in using 3DS Max. when I finished I added Material Textures. On the way and after I extracted COL + DFF, since I don't have TXD, I tried to run COL + DFF by using functions on wiki mtasa. engineLoadCOL and engineLoadDFF but the problem did not come to me correctly really cracked my head I tried to discover a bug cuz the first time i'm use 3ds Max and did not find a solution, where trouble? how i fix that? Screenshot 3DS Max: Screenshot In-Game: Only inside a game I see a small object that is incomplete and I am sure that I extracted them Edit: when I just extracted cs_roadbridge04 and not specified them all and since I put all objects in -> cs_roadbridge04 I get the result, that's why. ? Screenshot in-game: Screenshot 3DS Max:
  4. i tested and this one worked thanks a lot :DD setPedAnimation( localPlayer, "CARRY", "crry_prtial")
  5. there is a lot of animations in mta sa. https://wiki.multitheftauto.com/wiki/Animations It is difficult to find this ID name anim. something like taking an object?
  6. ty guys I was needed a part of camera that followed ("Element") and found the solution addEventHandler("onClientRender", root, function() local ox,oy,oz = getElementPosition(army1) setCameraMatrix(ox,oy,oz,ox,oy,oz) end)
  7. hey i would like to make camera . on other position and i'm use setCameraMatrix and i created that ped start movements. but i want make cam follow ped when his move . what should i use on functions? --if this ->> setCameraTarget + attachElements? and how will be?
  8. trust me nothing happen addEventHandler("onMarkerHit", marker_auto_teleport_botscars, function(hitElement) -- get element 1 parent from group thats i created above if hitElement == pedveh1 and getElementParent(hitElement) == group then --part check if ped in vehicle try to hit marker if (isElement(pedveh1)) and (getElementType(pedveh1)=="ped") and (getElementModel(pedveh1)==0) then -- here problem text spam me 2 if second car behind firstly and also touching the marker outputChatBox("vehicle touched 1") end end end) should I know hitElement for an item? like a car vehicle?
  9. I didn't understand exactly where wrong please check my new code local group = createElement("pedsbots") setElementParent(pedveh1, group) --setElementParent(pedveh2, group) --setElementParent(pedveh3, group) --setElementParent(pedveh4, group) addEventHandler("onMarkerHit", marker_auto_teleport_botscars, function() -- get element 1 parent from group thats i created above if getElementParent(pedveh1) == group then --part check if ped in vehicle try to hit marker if (isElement(pedveh1)) and (getElementType(pedveh1)=="ped") and (getElementModel(pedveh1)==0) then -- here problem text spam me 2 if second car behind firstly and also touching the marker outputChatBox("vehicle touched 1") end end end)
  10. i shortened everything first time i used setElementParent and createElement. but I have a problem with the vehicles not moving now when i touch the marker and btw I used the triggerClientEvent to call the onControlState function and my code I did above correct or no? it did not give me any error --client side addEvent ( "onControlState", true ) addEventHandler ( "onControlState", resourceRoot, function () setPedControlState ( source, "accelerate", true ) end ) --server side marker_auto_teleport_botscars = createMarker(-759.40002441406, 126.5, 41,"corona",4,0,0,0,0) teleport_part = createMarker(-757.400390625, 109.099609375, 41.400001525879,"corona",4,0,0,0,0) function parts(teleport_part) -- take element hit from marker if teleport_part then triggerClientEvent ( root, "onControlState", pedveh1 ) -- start make vehicle walk triggerClientEvent ( root, "onControlState", pedveh2 ) -- start make vehicle walk triggerClientEvent ( root, "onControlState", pedveh3 ) -- start make vehicle walk triggerClientEvent ( root, "onControlState", pedveh4 ) -- start make vehicle walk print("touched by player") end end addEventHandler ( "onPlayerMarkerHit", root, parts) local group = createElement("VehicleBots") setElementParent(botvehicle1, group) setElementParent(botvehicle2, group) setElementParent(botvehicle3, group) setElementParent(botvehicle4, group) addEventHandler("onMarkerHit", marker_auto_teleport_botscars, function(group) -- take hit elements from group if getElementType ( botvehicle1 ) == "vehicle" and getElementModel ( botvehicle1 ) == 405 then print("vehicle touched 1") setElementPosition(botvehicle1,-414.1000061035, 157.19999694824, 41.400001525879) elseif getElementType ( botvehicle2 ) == "vehicle" and getElementModel ( botvehicle2 ) == 547 then print("vehicle touched 2") setElementPosition(botvehicle2,-414.1000061035, 157.19999694824, 41.400001525879) elseif getElementType ( botvehicle3 ) == "vehicle" and getElementModel ( botvehicle3 ) == 507 then print("vehicle touched 3") setElementPosition(botvehicle3,-414.1000061035, 157.19999694824, 41.400001525879) elseif getElementType ( botvehicle4 ) == "vehicle" and getElementModel ( botvehicle4 ) == 585 then print("vehicle touched 4") setElementPosition(botvehicle4,-414.1000061035, 157.19999694824, 41.400001525879) end end) when i add setElementParent vehicles not move? why and i put if player touche the marker makes vehicles start moving
  11. hey i did not understand here, why vehicle "3" and "4" if it hit marker, nothing happens? only vehicle "1" and "2" work? I tried to make it through the ped that did not work for me, but if I changed botvehicle 2 -to-> botvehicle 3 it would work 3 I would like them to work all also i didn't get any error in debugscript my line: marker_auto_teleport_botscars = createMarker(-759.40002441406, 126.5, 41,"corona",4,0,0,0,0) botvehicle1 = createVehicle( 405, -688.45050048828, 132.56692504883, 41.400001525879, 0, 0, 95.99853515625) botvehicle2 = createVehicle( 547, -651.70001220703, 135.69999694824, 41.400001525879, 0, 0, 95.99853515625) botvehicle3 = createVehicle( 507, -615.09997558594, 138.89999389648, 41.400001525879, 0, 0, 95.99853515625) botvehicle4 = createVehicle( 585, -581.40002441406, 141.69999694824, 41.400001525879, 0, 0, 95.99853515625) addEventHandler("onMarkerHit", marker_auto_teleport_botscars, function(botvehicle1) -- element hit take from createVehicle. if getElementType ( botvehicle1 ) == "vehicle" and getElementModel ( botvehicle1 ) == 405 then print("vehicle touched 1") setElementPosition(botvehicle1,-414.1000061035, 157.19999694824, 41.400001525879) end end) addEventHandler("onMarkerHit", marker_auto_teleport_botscars, function(botvehicle2) -- element hit take from createVehicle. if getElementType ( botvehicle2 ) == "vehicle" and getElementModel ( botvehicle2 ) == 547 then print("vehicle touched 2") setElementPosition(botvehicle2,-414.1000061035, 157.19999694824, 41.400001525879) end end) addEventHandler("onMarkerHit", marker_auto_teleport_botscars, function(botvehicle3) -- element hit take from createVehicle. if getElementType ( botvehicle3 ) == "vehicle" and getElementModel ( botvehicle3 ) == 507 then print("vehicle touched 3") setElementPosition(botvehicle3,-414.1000061035, 157.19999694824, 41.400001525879) end end) addEventHandler("onMarkerHit", marker_auto_teleport_botscars, function(botvehicle4) -- element hit take from createVehicle. if getElementType ( botvehicle4 ) == "vehicle" and getElementModel ( botvehicle4 ) == 585 then print("vehicle touched 4") setElementPosition(botvehicle4,-414.1000061035, 157.19999694824, 41.400001525879) end end)
×
×
  • Create New...