Jump to content

triplesnake

Members
  • Posts

    95
  • Joined

  • Last visited

Everything posted by triplesnake

  1. sorry because i ask about lots of stuff
  2. local marker = createMarker ( 0, 0, 2, "cylinder", 1.5, 255, 255, 0, 170 ) local blip = createBlip ( 0, 0, 7, 33, 2, 255, 15, 75, 255, 0, 99999.0, getRootElement()) local ped = createPed( 29, 4, 4, 7 ) local pname = getPlayerFromName("x-Racer") doorcreateObject(doorid, x, y, z not sure about rotation) addEventHandler("onMarkerHit",marker, function (hitElement, matchingDim) if isPedInVehicle(hitElement) then return end if not matchingDim then return end local vehicle = createVehicle(411, 2, 2, 14) warpPedIntoVehicle(hitElement, vehicle) setTimer (moveObject(door, x, y ,z),3000) end) thats supposed to make a door and make it move when a player hit the marker right or is it all messsed up P.S:i know this is prob asking for too much but i like get lost in wiki pages so can u help me like send me a page or two link everyday in orded i need to learn it in pm or something like that it would be great help but i know u prob dont ahve time for that but i will really appreciate it
  3. thank you a lot i really appreciate it bec learning is sort of hard but u are helping me in it
  4. i am trying to make 2 things First:this one is for dragracing its like a small gamemode in fr and and i downloaded that manuel gearbox (still sort of hard since i am still learning) Second:destuction derby its mostly like a ring only and there is a marker that warp you and give u a car so its sort of still based on the first one
  5. i still get that error ) expexted near "=" on second line and btw is onPedHitMarker(giveVehicle,341) correct?
  6. soto get the name of the player who hits the marker i do like function onPedHitMarker(getPlayerFromName(thePlayer)) and like onPedHitmarker(givevehcile,id) ??
  7. thank you and sorry for making two topics
  8. {lua/code]local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) local blip = createBlip ( x, y, z, icon=33, int size=2, r=255, int g=15, b=75, a=255, ordering=0, float visibleDistance=99999.0, visibleTo = getRootElement()] local ped = createPed local pname = getPlayerFromName("x-Racer") i get an error on debug in second line it says ) expexted near "="
  9. {lua/code]local marker = createMarker ( x, y, z, "cylinder", 1.5, 255, 255, 0, 170 ) local blip = createBlip ( x, y, z, icon=33, int size=2, r=255, int g=15, b=75, a=255, ordering=0, float visibleDistance=99999.0, visibleTo = getRootElement()] local ped = createPed local pname = getPlayerFromName("x-Racer") i get an error on debug in second line it says ) expexted near "="
  10. tttttttttttthhhhhhhhhaaaaaaaaaaaannnnnnnnnnnnnnnnnnnnnnnkkkkkkkkkkkkkkkkkk yooooooooooooouuuuuuuuuuuuuuuuuuuuuuuuuu
  11. first ty a lot second i am learning scripting and yeah i got the markers part but the problem is how to make the redline that when u pass it it says winner is ....your name ????
  12. ok i didnt know thats double posting but no one seemed to be have read the topic
  13. jr can u give me a little help even just a start? in the topic below with 1
  14. i was writing the last line and then spunky posted lolz
  15. delete mta sa and download it again from mtasa.com and install that ve 2008 or sth and it should work fine btw i am your cousin
  16. one more thing can someone explain me when to use string and when to use other for variabel type and how
  17. ok this is hard for me i am not sure even where to start from wanna make sth like there be to markers at sf airport runway when two cars are in the two markers a countdown start and there be be like checkpoints (note:its like drag race) and i want a red line at finish line when someone cross it first it says winner and thePlayer (his name) i tried to make this but just an epic fail P.S.:i am trying to make that for freeroam not race
  18. so to make it close too i make it like this addCommandHandler("open", function (thePlayer, cmd, gateID) setGarageOpen(tonumber(gateID), true) outputChatBox("You have opened the garage ".. tostring(gateID),thePlayer,0,255,0) end) addCommandHandler("close", function (thePlayer, cmd, gateID) setGarageOpen(tonumber(gateID), false) outputChatBox("You have closed the garage ".. tostring(gateID),thePlayer,0,255,0) end) right?
  19. thank you a lot you are very helpful and so i use that code only and not the wiki one right?
  20. buti want it to open with addCommandHandler
  21. but i saw a guy on that server making the lv desert airport hanger move
  22. i was wondering how to move an original door object i know its id and all but since its original object i dunno how to make it move if someone can help me in that i will really apreciate it i want it to move with addcommandhandler
  23. First thank you a lot. Second so i want to make a coloumn to kills i do this bool scoreboardAddColumn ( string name, [ element forElement = getRootElement(), int width = 70, string friendlyName = kills, int priority = slot after "name" column ] ) setElementData ( thePlayer, "kills", 3 ) --3 is inserted in the player's wanted level column exports.dxscoreboard.scoreboardAddColumn("kills", getRootElement(), 70, "kills") or what?? please help i am still learning and its sort of hard
  24. triplesnake

    scores

    soo i got that dx scoreboard edited it a bit but i was wondering if someone can help me make scores for it like kills deathes and stuff
×
×
  • Create New...