CharlesHacks
CharlesHacks
  • Видео 16
  • Просмотров 511 744
I Added ChatGPT to GTA Online (FiveM Mod)
Charles adds ChatGPT from OpenAI to Grand Theft Auto: Online using the FiveM mod in Lua so he can have conversations with NPCs in the game. In this video you can watch Charles code the FiveM Lua script as he explains what he is doing, and see what the future of gaming might be like when you can talk to NPCs just like real life.
DISCORD: discord.gg/charleshacks
TWITTER: charleshacks
Music by Bensound
License code: SZMFB6XG613XNTZP
Просмотров: 25 058

Видео

7 NEW FiveM Natives You NEED To Know About (FiveM Lua Scripting Master Series)
Просмотров 8 тыс.Год назад
In this FiveM Lua development video, Charles teaches you about 7 new FiveM natives that were just released including natives about ped ragdolling and flashlights, stealth movement, vehicle windows, and boat anchors. Learn about modding Grand Theft Auto: Online using FiveM in Lua, C#, or Javascript. DISCORD: discord.gg/charleshacks TWITTER: charleshacks CHAPTERS: 00:00 Introduction 0...
Advanced FiveM Lua Features (FiveM Lua Scripting Master Series)
Просмотров 8 тыс.Год назад
Explore advanced features in the FiveM Lua scripting runtime with CharlesHacks. Learn about compound operators, safe navigation, string joining, and more. DISCORD: discord.gg/charleshacks TWITTER: charleshacks Links From Video: - github.com/citizenfx/lua/blob/luaglm-dev/cfx/README.md CHAPTERS: 00:00 Introduction 00:47 Compound Operators 02:07 Safe Navigation 04:03 Table Unpacking 05...
Setting up VSCode for FiveM Lua Development (Zero to Hero Episode 9)
Просмотров 21 тыс.Год назад
Learn how to setup Visual Studio Code for FiveM Lua development. CharlesHacks shares tips, tricks, and the best VSCode extensions for FiveM scripting and resource development. DISCORD: discord.gg/charleshacks TWITTER: charleshacks CHAPTERS: 00:00 Introduction 01:10 UI Scale 01:53 Terminal Setup 03:36 Lua Language Support 08:03 FiveM Natives Extension 10:09 Conclusion
How to Write a Door Lock Script (FiveM Lua Scripting Master Series)
Просмотров 14 тыс.Год назад
Dive into advanced FiveM development with this Master Series tutorial on creating a modern door locking system using FiveM DoorSystem natives. Upgrade from the old methods involving entity headings, enhance your server performance, and improve the user experience. DISCORD: discord.gg/charleshacks TWITTER: charleshacks LINKS: - Forum Post: forum.cfx.re/t/4259344 - pun_idgun: github.c...
How to use FiveM's Built-In KVP Database (FiveM Lua Scripting Master Series)
Просмотров 6 тыс.Год назад
Welcome back to another episode of CharlesHacks' Master Series! In today's video, we'll be diving into FiveM's built-in key-value pair (KVP) database, which offers a lightweight and simple way to store and retrieve data on your server. Join me as we explore the advantages, use cases, and limitations of this storage solution, and learn how to implement KVP storage in your FiveM server. Let's lev...
FiveM Lua Scripting How to Use MySQL Database (Zero to Hero Episode 8)
Просмотров 24 тыс.Год назад
In this episode of our FiveM Lua Zero to Hero tutorial series, learn how to use MySQL databases in your FiveM server with the 'oxmysql' resource. We cover setting up MySQL and creating a simple script for data persistence. DISCORD: discord.gg/charleshacks TWITTER: charleshacks CHAPTERS: 0:00 Introduction 1:54 Installing MySQL 4:26 Setting up the Database 13:54 Setting up OxMySQL 16:...
How to use Routing Buckets (FiveM Lua Scripting Master Series)
Просмотров 13 тыс.2 года назад
In this Master Series we look at using routing buckets in FiveM to accomplish "instancing" or "dimensions." We'll move players and entities like vehicles from bucket to bucket, and look at some security features. DISCORD: discord.gg/charleshacks TWITTER: charleshacks CHAPTERS: 00:00 Introduction 01:26 Use Cases 02:47 Important Notes 04:01 GetPlayerRoutingBucket 06:11 GetEntityRoutin...
How to Create HUDs and UIs using NUI (Zero to Hero Episode 7)
Просмотров 62 тыс.2 года назад
Welcome back! In Episode 7 we learn how to use NUI to create and interact with HUDs and interfaces using HTML, CSS, and Javascript. During this episode, we'll build a HUD that shows us our current location and allows us to teleport to any coordinates we wish using a simple interface. DISCORD: discord.gg/charleshacks TWITTER: charleshacks CHAPTERS: 0:00 Introduction 1:37 Manifest Cha...
FiveM Lua GUI Notifications and Alerts Scripting (Zero to Hero Episode 6)
Просмотров 27 тыс.2 года назад
Welcome back to the 6th Zero to Hero episode! Sorry it's a little late this week - life has been crazy. Today we're looking at a bundle of GUI elements, from notifications and alerts to busy spinners and text input. In the next episode, we'll start diving into NUI! DISCORD: discord.gg/charleshacks TWITTER: charleshacks USEFUL LINKS: - Markers: docs.fivem.net/docs/game-references/mar...
FiveM Lua Scripting Threads and Controls (Zero to Hero Episode 5)
Просмотров 21 тыс.2 года назад
Welcome to the fifth episode of my FiveM Lua Development Zero to Hero tutorial series! In this episode we explore controls and inputs, threads, and keybinds by building a hood and trunk control resource. DISCORD: discord.gg/charleshacks TWITTER: charleshacks USEFUL LINKS: - Control Reference: docs.fivem.net/docs/game-references/controls/ - Input Mapper Reference: docs.fivem.net/docs...
How to use State Bags (FiveM Lua Scripting Master Series)
Просмотров 20 тыс.2 года назад
Welcome to the first Master Series episode from CharlesHacks, where we take a deep dive into some more advanced features and functionality of FiveM. Today we're exploring state bags, and how you can use them to sync data globally and about players and other entities. DISCORD: discord.gg/charleshacks TWITTER: charleshacks USEFUL LINKS: - State Bags: docs.fivem.net/docs/scripting-manu...
FiveM Lua Scripting Network Events (Zero to Hero Episode 4)
Просмотров 30 тыс.2 года назад
Welcome to the fourth episode of my FiveM Lua Development Zero to Hero tutorial series! In this episode, we dive into client-server communications and network events, culminating in a summon/goto teleport script. DISCORD: discord.gg/charleshacks TWITTER: charleshacks CHECK OUT MY NEW MASTER SERIES - FIRST EPISODE OUT NOW: ruclips.net/video/6CSXtJpH0qQ/видео.html
FiveM Lua Scripting Commands and Natives (Zero to Hero Episode 3)
Просмотров 36 тыс.2 года назад
Welcome to the third episode of my FiveM Lua Development Zero to Hero tutorial series! In this episode, we get into the meat of things and learn about natives, registering commands, and wrap up by letting the player spawn a vehicle. DISCORD: discord.gg/charleshacks TWITTER: charleshacks USEFUL LINKS: - FiveM Scripting Intro: docs.fivem.net/docs/scripting-manual/introduction/creating...
Getting Started With Lua FiveM Scripting (Zero to Hero Episode 2)
Просмотров 75 тыс.2 года назад
Welcome to the second episode of my FiveM Lua Development Zero to Hero tutorial series! In this episode, we write our very first FiveM script that handles respawning when we connect or are injured. DISCORD: discord.gg/charleshacks TWITTER: charleshacks USEFUL LINKS: - FiveM Scripting Intro: docs.fivem.net/docs/scripting-manual/introduction/creating-your-first-script/ - Spawnmanager ...
Setting Up a FiveM Dev Server (Zero to Hero Episode 1)
Просмотров 123 тыс.2 года назад
Setting Up a FiveM Dev Server (Zero to Hero Episode 1)

Комментарии

  • @oleksii9381
    @oleksii9381 4 дня назад

    Absolutly love your videos!

  • @gafski
    @gafski 8 дней назад

    How can we download this resource, This would seriously improve RP servers!? :)

  •  9 дней назад

    I just want to tell you, that you make a nice, clear and easy go teaching explanation... You help me as no one else before to understand the scence and more than basic concepts... I appreciate a lots your time and dedication to teach some others. Even english it´s not my first language, you speak so clearly that I understand you all you sayed. Great teaching... thanks a lots bud!!!

  • @bandito4800
    @bandito4800 13 дней назад

    Hey, your discord link is invalid? Can you send a new link I would love to join the community..

  • @taylorjtee8644
    @taylorjtee8644 17 дней назад

    How do you type in the Terminal

  • @imraj302
    @imraj302 22 дня назад

    I want that script hot to get this?

  • @vampy5071
    @vampy5071 23 дня назад

    You completely lost me with this episode 😂 No idea whats going on

  • @Tinogz_1234
    @Tinogz_1234 Месяц назад

    i need a dev i got good money

  • @GameCasters
    @GameCasters Месяц назад

    Ok i subscribed please teach me how to do this. Where do i go to see the step by step instructions?

  • @Nick-c5k
    @Nick-c5k Месяц назад

    RegisterCommand('weapon', function(source, args) local weaponName = args[1] if not IsWeaponValid(weaponName) then TriggerEvent('chat:addMessage', { args = {'Oh no '.. weaponName ..' is not a weapon'} }) return end TriggerEvent('chat:addMessage',{ args = {'Nice '.. weaponName.. ' is a weapon'} }) local playerPed = PlayerPedId() local pos = GetEntityCoords(playerPed) GiveWeaponToPed( playerPed, weaponName, 10, false, true ) end)

  • @snapjones194
    @snapjones194 Месяц назад

    New invite script for discord?

  • @caleb6067
    @caleb6067 Месяц назад

    For those still watching. Here is my window control thread script: local isDriverWindowOpen = false local isPassengerWindowOpen = false CreateThread(function() while true do Wait(0) local playerId = PlayerPedId() local playerVehicle = GetVehiclePedIsIn(playerId, false) if playerVehicle > 0 and GetPedInVehicleSeat(playerVehicle, -1) == playerId then -- print('Player is in the driver seat of the vehicle.') -- Check for Driver Window (NumPad (-) key) if IsControlJustReleased(0, 97) then if isDriverWindowOpen then -- The window is currently open, close it RollUpWindow(playerVehicle, 0) isDriverWindowOpen = false print('Driver window rolled up') else -- The window is currently closed, open it RollDownWindow(playerVehicle, 0) isDriverWindowOpen = true print('Driver window rolled down') end end -- Check for Passenger Window (NumPad (+) key) if IsControlJustReleased(0, 96) then if isPassengerWindowOpen then -- The window is currently open, close it RollUpWindow(playerVehicle, 1) isPassengerWindowOpen = false print('Passenger window rolled up') else -- The window is currently closed, open it RollDownWindow(playerVehicle, 1) isPassengerWindowOpen = true print('Passenger window rolled down') end end end end end) If you are still reading, and wondering if I should check if the window is intact with IsVehicleWindowIntact(), I tried that. Don't waste your time, it will return false the moment the window is down.

  • @kyroic6128
    @kyroic6128 Месяц назад

    how do you connect with 2 clients? in the way i did, my client ids are 0 and 1, but yours are 1 and 2. and the script doesnt work for me. it always returns please provide a target id even tho i put args or not

  • @DavideDemaa
    @DavideDemaa 2 месяца назад

    Is it possible to have a new discord link because the one in the video is no longer valid? anyway really good, I'm a beginner and I'm slowly learning how the world of fivem and scripting works

  • @tetoeljoker
    @tetoeljoker 2 месяца назад

    Hello Charles Can you share an invitation link for your Discord Server or a DM way?

  • @inteligenciamilgrau
    @inteligenciamilgrau 2 месяца назад

    Excelent video!! I made it all work here, but the NPC mouth doesn't move!! Any hint of what can be wrong?

  • @shellshoxed2968
    @shellshoxed2968 2 месяца назад

    Discord link is not working

  • @PUTERA312
    @PUTERA312 2 месяца назад

    Amazing people ~!👏👏👏

  • @Dalrae
    @Dalrae 2 месяца назад

    Love that you used my Python script! Thank you for mentioning me!

  • @video_camera
    @video_camera 3 месяца назад

    This is nice, but did you release this as a mod? I'd love to use it.

  • @malekgachuei9033
    @malekgachuei9033 3 месяца назад

    Mine is active but I can't get any connection with the server ---- set onesync on

    • @malekgachuei9033
      @malekgachuei9033 3 месяца назад

      fx_version 'adamant'----i use this source and fix it....hoof😅

  • @ulle9985
    @ulle9985 3 месяца назад

    I need a new discord link

  • @NewGamer98
    @NewGamer98 4 месяца назад

    Man. Thank you so mucho for this series. Is there any way I can support you? maybe donate?

  • @nielsvorselaars5964
    @nielsvorselaars5964 4 месяца назад

    Discord link doesn’t work

  • @AG.SANTOS
    @AG.SANTOS 4 месяца назад

    Wouldn´t i get banned if i use this? i still want to play public servers

  • @ulle9985
    @ulle9985 4 месяца назад

    I am late, but still a great video!

  • @MesterPc
    @MesterPc 5 месяцев назад

    gg

  • @marcosjesus07
    @marcosjesus07 5 месяцев назад

    how implement with vue.js because is necessary npm i for running packages/libs Help me please thanks you.

  • @gamebozaa
    @gamebozaa 5 месяцев назад

    Nice Work

  • @Subtranex
    @Subtranex 5 месяцев назад

    Hey. What keyboard or switches do you have? They sound just smooth asf ;)

  • @Jay-uz2uo
    @Jay-uz2uo 5 месяцев назад

    Hi! Can you please tell me how you run 2 clients? Thank you very much, love your series!

  • @styelz5m
    @styelz5m 5 месяцев назад

    Do you think i can make the server public? Im tryna post videos w my friend in the server...

  • @xblackxscars
    @xblackxscars 6 месяцев назад

    wheres the mod download link lol

  • @alvinsden
    @alvinsden 6 месяцев назад

    Hi Charles, Your Discord invite is invalid. Can you please share your valid discord invite?

  • @poohvanilla
    @poohvanilla 6 месяцев назад

    Do you need a independent pc for hosting the server?

  • @Xoloes
    @Xoloes 6 месяцев назад

    to save y'all life create a resource with client script and put this in RegisterCommand('pcoords', function(source, args) local playerPed = PlayerPedId() local coords = GetEntityCoords(playerPed) TriggerEvent('chat:addMessage', { args = {'Your coords are ' .. tostring(coords)} }) end) use the new command /pcoords and u can see ur current exact coords to put in vector3 thank me later or never have a good day CJ.

  • @Xoloes
    @Xoloes 6 месяцев назад

    what extension your using for the colors to appear without it putting errors all over my code, if anyone know pls tell me i can't without colors i accidently put yes instead of true cause of this

    • @snohflakeR6
      @snohflakeR6 6 месяцев назад

      changing the theme of vscode fixed it for me

  • @l-fitness3590
    @l-fitness3590 7 месяцев назад

    Anyone know how to send the data received from database to Js for nui

  • @NewWorld-Roleplay
    @NewWorld-Roleplay 7 месяцев назад

    discord button doesnt work please update

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

    Hey ya'll, I want use the terminal in vs code to do like the refreshing and restarting of resources but id doesn't let me type in it. Followed a from post from CFX website but still nothing. Anyone that can help me?

  • @YassM-mc3nl
    @YassM-mc3nl 7 месяцев назад

    Hi, thanks for your video ! I have trouble inviting my friends in the server as it only works for me (curl error 7)

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

    Please provide your discord link the one in you BIO doesnt work

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

    Can u make a video about handcuffs?

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

    Hey, I'm looking for your Discord server for a while, And can't find it anywhere, are you still in the FiveM business? Can you send a new link for your Discord server? It would be appreciated, thanks.

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

    Hey, just went through the first and second episode of your series, is your discord still alive ? Would be happy to join ! :)

    • @v-royy
      @v-royy 6 месяцев назад

      yo btc , i did what he exactly did and my resource did'nt be found any idea why ?

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

    How can i invite my friend

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

    and now with txadmin?

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

    Could you give the method you used to run the FXServer inside VS Code in terminal? You did it so fast, I couldn't work that out.