HunT Posted February 14, 2011 Share Posted February 14, 2011 I am epic noob scripter if source == Marker[1] then. . . .please AttachOffset ???? P.S. i hate scriptz Link to comment
Aibo Posted February 14, 2011 Share Posted February 14, 2011 seriously, if you hate it, then do something else with your time, thank you. Link to comment
proracer Posted February 14, 2011 Share Posted February 14, 2011 Can you please explain yourself better? Link to comment
Castillo Posted February 14, 2011 Share Posted February 14, 2011 proracer, he doesn't even want to learn i'm guessing, since he said "i hate scripts" Link to comment
HunT Posted February 14, 2011 Author Share 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 Link to comment
proracer Posted February 14, 2011 Share Posted February 14, 2011 Are you joking or serious? Link to comment
HunT Posted February 14, 2011 Author Share Posted February 14, 2011 I need help I don't joke AttachOffset or GiveObject or other Link to comment
Martyz Posted February 14, 2011 Share Posted February 14, 2011 where do you want to create a ramp? Link to comment
HunT Posted February 14, 2011 Author Share Posted February 14, 2011 For map DD i want marker with "give ramp player". Link to comment
qaisjp Posted February 15, 2011 Share 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. Link to comment
HunT Posted February 15, 2011 Author Share Posted February 15, 2011 Wtf bind command? No!!! With marker check point.Cmon is easy (not for me). Link to comment
Martyz Posted February 15, 2011 Share Posted February 15, 2011 you want to "stick" ramp object to players vehicle? Link to comment
HunT Posted February 15, 2011 Author Share Posted February 15, 2011 i want this (video) without bind and command. . .with checkpoint type teleport (marker) Link to comment
proracer Posted February 15, 2011 Share 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 Link to comment
HunT Posted February 15, 2011 Author Share 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) Link to comment
Aibo Posted February 15, 2011 Share Posted February 15, 2011 because source is a marker, not a vehicle Link to comment
HunT Posted February 15, 2011 Author Share 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. Link to comment
Aibo Posted February 15, 2011 Share 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. Link to comment
HunT Posted February 15, 2011 Author Share 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 ) Link to comment
Castillo Posted February 15, 2011 Share 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 Link to comment
HunT Posted February 15, 2011 Author Share 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. Link to comment
12p Posted February 15, 2011 Share Posted February 15, 2011 But he's trying to HELP YOU, not to KILL YOU. At least say thanks. Link to comment
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