How to Write a Door Lock Script (FiveM Lua Scripting Master Series)

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 25

  • @beni3421
    @beni3421 Год назад +1

    man, just two days ago I saw your channel, and already finished all the videos (I am developing fivem mods for almost 3 years), just want to say thank you for the contribution for the fivem community. And I will be glad if you can do a video at the master series about OneSync, you know the basics of it, and what limitation it is creating and what features it is giving, how to optimize a server/resource to work with OneSync and all that stuff. Thank you man love your work keep going like that

  • @nowie5166
    @nowie5166 7 месяцев назад

    Great video, I didn't know how to use the DoorSystemSetDoorState but this video made it very clear! Thanks 🤝

  • @kylemedeiros4989
    @kylemedeiros4989 Год назад +1

    As always fantastic video Charles! Would love to see some info around building your own inventory/drop system in a future video.

  • @otis247
    @otis247 Год назад +6

    Hello Charles, I really enjoy listening to your voice. Would it be possible for you to provide a voice-over for a FiveM anti-cheat system?

  • @davidforever7251
    @davidforever7251 Год назад +2

    Great video!

  • @joachim7206
    @joachim7206 Год назад +1

    Man, these tutorials are great. Well done, with great explanations and amazing production.
    Thank you for your work! Really helps me with my FiveM-Lua journey.
    Will there be a tutorial about groups? Like cops, medics and other roles on the server with different functionalities available for each.

  • @wetter4293
    @wetter4293 11 месяцев назад

    I think this native can be a good transition into secure-coding and security-first implementations.
    In theory, a player can set their own door status as it's executed on the client. I'd love to see your thought process in securing this and making it loads harder to exploit. Hope you're up for the challenge! :D

  • @nl-scripts6617
    @nl-scripts6617 Год назад +1

    Very Good Video!
    Keep going!

  • @devside1012
    @devside1012 Год назад

    niceeee tutorial Charles

  • @paimon2701
    @paimon2701 Год назад +2

    Thanks, that was very useful. Can you tell me what's your debug resources?
    There might be very useful tools that I don't know :(
    Thanks

    • @paimon2701
      @paimon2701 Год назад

      @@charles-hacks Thank you

  • @lawnside82
    @lawnside82 Год назад +2

    Very nice voice!

  • @christian-sw4vb
    @christian-sw4vb 7 месяцев назад

    Trying to put this together with a nativeui menu 🙏 will be my first official script

  • @mariushanssen4103
    @mariushanssen4103 8 месяцев назад

    Can we have a new discord link to your server?

  • @lLimao
    @lLimao 11 месяцев назад

    Work with garage doors? Automatic open

  • @Exu9x
    @Exu9x 8 месяцев назад

    How to make lockable for entity ID?

  • @daiguel5706
    @daiguel5706 10 месяцев назад

    why threads ?

  • @lepsu3588
    @lepsu3588 Год назад

    Good video thanks for making good tutorial vidos. Can you show how to make floating cirkles or some icons around map and zones where you can do somthing

  • @dutchshame
    @dutchshame Год назад

    Can you show me how to get rid of the command and do it with key press?
    Awsome Vid Btw i love to learn

  • @s4sparcoz
    @s4sparcoz Год назад

    Make a ffa/team match script please 🙏

  • @DARK-zw2il
    @DARK-zw2il Год назад

    Does someone know how I can do it with my vaultdoor? I am writing an bankrobberry script for my server and I cant get my vault door to open up ... (I dont want to do it with Entity Rotation because the Entity changes every server restart :/

  • @goofy1982
    @goofy1982 Год назад

    can u make a tutorial about making a drug farming script where a player can harvest, process and sell the drugs

    • @Sniped137
      @Sniped137 Год назад

      You could go ahead and create that, you'd just need an inventory system which isn't hard to make from scratch just some DB calls and some events like addInventoryItem and addCash

  • @BEdmonson85
    @BEdmonson85 Год назад

    Just curious, does anyone know if there it's an easy way to determine which side of the door your on? I'm thinking it would be cool to make it such that a player could lock themselves inside a room, but only people with the key could unlock it from the outside.

    • @ДимитърЦонев-г9у
      @ДимитърЦонев-г9у 10 месяцев назад

      I know nothing about coding FiveM but what if you know the cordinates and orientation of the door? This way you can check if player is infront or behind the door, either by comparing the cordinates of the player to the cordinates of the door or comparing the relation between the player and the orientation of door 3d model. Another way would be if it is possible to shoot a raycast from the door to check for a particular player, but would require some optimization.