Jump to content

mars

Members
  • Content Count

    29
  • Joined

  • Last visited

Community Reputation

0 Neutral

About mars

  • Rank
    Advanced Member

Details

  • Gang
    GameNet.fi
  1. mars

    job :(

    okay, but still the marker doesn't come up.
  2. mars

    job :(

    thank you ^^
  3. it is posible, you can change the outlook from vehicle's to another model. like a infernus to a bmw.
  4. mars

    job :(

    hey guys, i was trying to make a bus job right now i'm kinda addicted to scripting but i made this in like, idk, 1 min? but it doesn't work function startbus (thePlayer, command ) veh = getPedOccupiedVehicle ( thePlayer ) if (veh == 431) then my = createMarker ( -2196, 324, 34, "cylinder", 3, 255, 255, 0, 70 ) setElementVisibleTo ( my, getRootElement(), true ) setElementVisibleTo ( my, thePlayer, true ) outputChatBox ( "#FF0000[bus Companie] #00FF00get to the first station, dont get too late!", thePlayer, 255, 255, 255, true ) end end addCommandHandler("startbus",
  5. mars

    what the....[help]

    you can scream what ever you want but i'm a newb in lua and i do like it! now i got this: the problem is, it wont get deleted if the health of the car is less than 350.
  6. you should change outputConsol to outputChatBox. than they will be fixed.
  7. hey guys, ive been scripting a mission, but the vehicle doesn't get deleted with this. dylan2en helped me to make it alitle further, but now the vehicle wont get deleted. script: marky = createMarker ( -2642.5, 1375, 6, "cylinder", 1.5, 255, 255, 0, 30 ) function mission ( hitPlayer ) if (source == marky) then my = createMarker ( -1647, 1219, 6, "cylinder" , 4, 255, 255, 0, 30 ) setElementVisibleTo ( my, hitPlayer , true ) local MissionVehicle = createVehicle ( 401, -2639, 1371, 8 ) warpPedIntoVehicle ( hitPlayer , MissionVehicle ) blip = createBlip ( -1647, 1219, 4, 52, 2,
  8. mars

    wtf?? [ help ]

    i'm not very good at scripting, can you maybe explain "attach the function just to this one marker, not to all elements (getRootElement())" alitle bigger? thank you
  9. mars

    wtf?? [ help ]

    haha i know about the get nick, i removed. i mixed 2 scripts, but can you explain abit more? i got this right now marky = createMarker ( -2642.5, 1375, 6, "cylinder", 1.5, 255, 255, 0, 30 ) function mission ( hitPlayer ) my = createMarker ( -1647, 1219, 6, "cylinder" , 4, 255, 255, 0, 30 ) --setElementVisibleTo ( myMarker, getRootElement ( ), false ) --setElementVisibleTo ( myMarker, hitPlayer , true ) local MissionVehicle = createVehicle ( 401, -2639, 1371, 8 ) warpPedIntoVehicle ( hitPlayer , MissionVehicle ) blip = createBlip ( -1647, 1219, 4, 52, 2, 255, 0, 0, 255,
  10. mars

    wtf?? [ help ]

    hey all, i wanted to make missions but its weird, i got the spawn, of the car. u get spawned in it. a blip is getting created, and a marker too. but when you hit the other marker, the server + your mta crashed and it doesn't give me a error is something, this is how far i am atm: mission = createMarker ( -2642.5, 1375, 6, "cylinder", 1.5, 255, 255, 0, 30 ) function mission ( hitPlayer ) getNickFromPlayer = ( hitPlayer ) if ( hitPlayer ) then myMarker = createMarker ( -1647, 1219, 6, "cylinder" , 4, 255, 255, 0, 30 ) --setElementVisibleTo ( myMarker, getRootElement ( ), false )
  11. mars

    need some help

    hey guys, i wanted to make a simple lock script, but i failed. it said setVehicleOverrideLock is a nil value. what is it suppose to be? hole script: function doToggleLock ( source, beep ) local theVehicle if ( getElementType(source) == "vehicle" ) then theVehicle = source end if ( getElementType(source) == "player" ) then theVehicle = getElementData ( source, "cl_ownedvehicle" ) end if ( theVehicle ) then if ( getVehicleOverrideLock ( theVehicle ) ~= 2 ) then setVehicleOverrideLock ( theVehicle, 2 ) end else setVehicleOverrideLock ( theVehicle, 1 ) end end function cl_Pl
  12. mars

    litle question

    okay thx ill give it a try.
  13. mars

    litle question

    hmm can any1 check if this is allright? the onPlayerJoin, i think its wrong. function positie ( source ) local acc=getPlayerAccount(source); setAccountData(acc,"posX",x); setAccountData(acc,"posY",y); setAccountData(acc,"posZ",z); end addEventHandler ("onPlayerJoin",getRootElement(),positie) thx.
  14. mars

    litle question

    hey guys ive got a litle question, i'm trying to make a position saver. but its kinda hard. can some1 give me a start please?^^, or something like a site where is standing how very junior in scripting ^^'' thx
  15. mars

    helpzor :(

    i got it right now.
×
×
  • Create New...