- Видео 16
- Просмотров 511 744
CharlesHacks
США
Добавлен 29 ноя 2020
CharlesHacks helps YOU become an expert FiveM developer.
No matter if you are a total beginner or already an expert, our videos will help you take your skills to the next level.
Just dipping your toes in? Start with the Zero to Hero series, where you will learn the basics of FiveM and Lua from, well, zero to hero. Looking to level up your skills? The Master Series covers advanced FiveM topics every expert developer should know.
Don't forget to subscribe for new videos (almost) every week!
No matter if you are a total beginner or already an expert, our videos will help you take your skills to the next level.
Just dipping your toes in? Start with the Zero to Hero series, where you will learn the basics of FiveM and Lua from, well, zero to hero. Looking to level up your skills? The Master Series covers advanced FiveM topics every expert developer should know.
Don't forget to subscribe for new videos (almost) every week!
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
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)
Absolutly love your videos!
How can we download this resource, This would seriously improve RP servers!? :)
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!!!
Hey, your discord link is invalid? Can you send a new link I would love to join the community..
How do you type in the Terminal
I want that script hot to get this?
You completely lost me with this episode 😂 No idea whats going on
i need a dev i got good money
Ok i subscribed please teach me how to do this. Where do i go to see the step by step instructions?
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)
New invite script for discord?
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.
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
same
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
Hello Charles Can you share an invitation link for your Discord Server or a DM way?
Excelent video!! I made it all work here, but the NPC mouth doesn't move!! Any hint of what can be wrong?
Discord link is not working
Amazing people ~!👏👏👏
Love that you used my Python script! Thank you for mentioning me!
This is nice, but did you release this as a mod? I'd love to use it.
Mine is active but I can't get any connection with the server ---- set onesync on
fx_version 'adamant'----i use this source and fix it....hoof😅
I need a new discord link
Man. Thank you so mucho for this series. Is there any way I can support you? maybe donate?
Discord link doesn’t work
Wouldn´t i get banned if i use this? i still want to play public servers
I am late, but still a great video!
gg
how implement with vue.js because is necessary npm i for running packages/libs Help me please thanks you.
Nice Work
Hey. What keyboard or switches do you have? They sound just smooth asf ;)
Hi! Can you please tell me how you run 2 clients? Thank you very much, love your series!
Do you think i can make the server public? Im tryna post videos w my friend in the server...
wheres the mod download link lol
Hi Charles, Your Discord invite is invalid. Can you please share your valid discord invite?
Do you need a independent pc for hosting the server?
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.
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
changing the theme of vscode fixed it for me
Anyone know how to send the data received from database to Js for nui
discord button doesnt work please update
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?
Hi, thanks for your video ! I have trouble inviting my friends in the server as it only works for me (curl error 7)
Please provide your discord link the one in you BIO doesnt work
Can u make a video about handcuffs?
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.
Hey, just went through the first and second episode of your series, is your discord still alive ? Would be happy to join ! :)
yo btc , i did what he exactly did and my resource did'nt be found any idea why ?
How can i invite my friend
and now with txadmin?
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.