Jump to content

CapY

Members
  • Posts

    1,646
  • Joined

  • Last visited

Everything posted by CapY

  1. Do you ever read what people do say ? Edit: Woops, didn't saw earlier posts.
  2. Then just do like myonlake said. Create a colShape about 100m radius and attach it to a player, add a handler for colShape hit, then walk around, when your colShape hits an element, check if it's an vehicle, if it is, then warp player into. I'm bad at explaining.
  3. Could you atleast tell us, what type of the script are you doing ? What do you want to achieve with it, because i don't get you that much.
  4. Oh. Then: for k,v in pairs(getElementsByType"object") do --code afaik..
  5. You want a specified element or all elements ?
  6. It is possible to get the nearest element.
  7. What was that ? Try2speakEnglish war ?
  8. No, but you'll get specified vehicle. Yes, you can put local player.
  9. Take a look at: https://wiki.multitheftauto.com/wiki/Get ... enPoints2D and https://wiki.multitheftauto.com/wiki/Get ... enPoints3D Hope it will help.
  10. Obviously he didn't specified script name correctly in meta.xml
  11. Use [lua] codehere [ /lua] tags, also this should go into 'Tutorials' board.
  12. At: http://www.wegivefreemultiplayermods.com/
  13. CapY

    [WIP] wBot

    That's pretty good job Wafamde, keep it up. I might come with a few ideas later.
  14. CapY

    PC COMBO QUESTION!

    He watched Rick 'n roll on 1080p.
  15. FatalTerror, That one is awesome. Here's mine:
  16. Yes, where are the arguments ? EDIT: I found them, FatalTerror take a look in the script.
  17. Don't make me laugh. P.S. NO ONE will help you for free!
  18. CapY

    dxDrawText

    root = getRootElement () function someoneReachedHunter(number, sort, model) if sort == "vehiclechange" and model == 425 then local vehicles = getElementsByType("vehicle") for k,v in ipairs(vehicles) do setTimer( setElementCollisionsEnabled(v, false) , 5000 , 1 ) outputChatBox ( "#FFE303The ghostmode will be disabled in 5 seconds ", root, 255,255,255 ,true ) end end end addEvent("onPlayerPickUpRacePickup",true) addEventHandler("onPlayerPickUpRacePickup",getRootElement(),someoneReachedHunter) function thePlayerReachedHunter() local player = getPlayerName(source) local theVehicle = getPlayerOccupiedVehicle ( player ) if ( theVehicle == 425 ) then setTimer(dxDrawText, 1000, 1, "The player ".. player .." got hunter! NOW RUN !",155.0,549.0,669.0,591.0,tocolor(255,255,255,255),1.0,"diploma","left","top",false,false,false) , 50 , 1 ) else return end end addEventHandler ( "onClientRender", root, thePlayerReachedHunter )
  19. He is trying to say a "spawn-menu" is more like 50-200 lines.
  20. Chris, Put 'account' instead of 'theCurrentAccount'
  21. Because of that i asked. Chris, Is your scoreboard resource even named 'scoreboard' ?
×
×
  • Create New...