HunT Posted February 14, 2011 Posted February 14, 2011 I am epic noob scripter if source == Marker[1] then. . . .please AttachOffset ???? P.S. i hate scriptz
Aibo Posted February 14, 2011 Posted February 14, 2011 seriously, if you hate it, then do something else with your time, thank you.
Castillo Posted February 14, 2011 Posted February 14, 2011 proracer, he doesn't even want to learn i'm guessing, since he said "i hate scripts"
HunT Posted February 14, 2011 Author Posted February 14, 2011 seriously, if you hate it, then do something else with your time, thank you. Omg guys i joked!! local root = getRootElement() local this = getThisResource() local resourceRoot = getResourceRootElement(this) local localPlayer = getLocalPlayer() local Marker = {} addEventHandler("onClientResourceStart", resourceRoot, function() Marker[1] = createMarker(....,...., ....., "corona", 10, 0, 0, 0) end ) addEventHandler("onClientResourceStop", root, function(res) if res == this then end end ) addEventHandler("onClientMarkerHit", root, function(player, matchingDimension) if not matchingDimension then return end if player == localPlayer and isPedInVehicle(player) then local vehicle = getPedOccupiedVehicle(player) if source == Marker[1] then ??????????????????????????????????????????????? end end end ) edit : I don't want to learn. . .I need alone help
HunT Posted February 14, 2011 Author Posted February 14, 2011 I need help I don't joke AttachOffset or GiveObject or other
HunT Posted February 14, 2011 Author Posted February 14, 2011 For map DD i want marker with "give ramp player".
MTA Team qaisjp Posted February 15, 2011 MTA Team Posted February 15, 2011 "How to give a player a ramp that is handled by a bind and command? How to make it when you press that key it will spawn a client/server in front of the person and thus making the person jump (unless that person swerves around it)" is the correct way of asking your question, I think.
HunT Posted February 15, 2011 Author Posted February 15, 2011 Wtf bind command? No!!! With marker check point.Cmon is easy (not for me).
Martyz Posted February 15, 2011 Posted February 15, 2011 you want to "stick" ramp object to players vehicle?
HunT Posted February 15, 2011 Author Posted February 15, 2011 i want this (video) without bind and command. . .with checkpoint type teleport (marker)
proracer Posted February 15, 2011 Posted February 15, 2011 https://wiki.multitheftauto.com/wiki/CreateMarker https://wiki.multitheftauto.com/wiki/OnClientMarkerHit https://wiki.multitheftauto.com/wiki/CreateElement -- choose some random co-ordinates https://wiki.multitheftauto.com/wiki/AttachElements -- and attach object to a player
HunT Posted February 15, 2011 Author Posted February 15, 2011 with this code attachElements no work elseif source == Marker[2] then local x, y, z = getElementPosition ( source ) local ramp = createObject ( 1633, x, y, z ) attachElements ( ramp, source, 0, 0, 0 ) createObject work attachElements no work . . . whi? (look video)
HunT Posted February 15, 2011 Author Posted February 15, 2011 because source is a marker, not a vehicle I don't need your help. . . Aspect other scripters. In my posts not to answer please.
Aibo Posted February 15, 2011 Posted February 15, 2011 because source is a marker, not a vehicle I don't need your help. . . Aspect other scripters. In my posts not to answer please.
HunT Posted February 15, 2011 Author Posted February 15, 2011 Resolved Tnx for support proracer. local x, y, z = getElementPosition ( source ) local ramp = createObject ( 1633, x, y, z ) attachElements ( ramp, vehicle, 0, 0, 0 )
Castillo Posted February 15, 2011 Posted February 15, 2011 because source is a marker, not a vehicle I don't need your help. . . Aspect other scripters. In my posts not to answer please. Hahaha, aiboforcen it's a good member that helps everyone, your problem is that you don't understand him, maybe because of your shity english
HunT Posted February 15, 2011 Author Posted February 15, 2011 because source is a marker, not a vehicle I don't need your help. . . Aspect other scripters. In my posts not to answer please. Hahaha, aiboforcen it's a good member that helps everyone, your problem is that you don't understand him, maybe because of your :~ english Hate for other motive.
12p Posted February 15, 2011 Posted February 15, 2011 But he's trying to HELP YOU, not to KILL YOU. At least say thanks.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now