KiKoZl
September 7, 2017, 12:15pm
2
Oh my God. Where do I start. Come on, then you can not just download a mod from gta5-mods.com and hope that just by adding the __resource file it works on FIVEM. Things do not work that way. You have to convert this mod to .lua which is the basic language of FIVEM. and not just copy and paste you will have to create the script from scratch
You know how to program in .lua or C #
Below I will leave the link to everything I used when I started at fiveM
Native functions for Notepad++
Code Hints in Notepad++ (Native functions hints)
I’ve made a FiveM lua auto-completion file for Notepad++ containing (almost) all Native Functions. This was requested (and joked about) by @Bluethefurry on Discord.
Example screenshots: <a class="lightbox" href="https://forum-cfx-re.akamaized.net/original/2X/a/adb726278268108d17f24a483fd2cc799baf6442.png" data-download-href="https://forum.cfx.re/uploads/default/adb726278268108d17f24a483fd2cc799baf6442" title="…
fivem documentation
https://wiki.fivem.net/wiki/Main_Page3
native references to .lua script
https://runtime.fivem.net/doc/reference.html4
All color for script drawtext in lua
Hey guys today i will post a good thing for lua coders want to make colored message.
(not with ^1…)
Colors:
~r~ = Red
~b~ = Blue
~g~ = Green
~y~ = Yellow
~p~ = Purple
~c~ = Grey
~m~ = Dark Grey
~u~ = Black
~o~ = Orange
Special:
~n~ = New line
~s~ = Reset Color
~h~ = Bold text
For notification:
∑ = Rockstar Icon
÷ = Rockstar Icon
¦ = Rockstar Verified Icon
This help you for create a basic script
Hello everyone, this tutorial will show you how to create a script which will get detected by the server and run successfully. For this tutorial we will create a script which prints a message in the chat each time the player (re-)spawns.
First off, go to the /FiveReborn/resources directory. You should see a lot of folders. Create a new one called “Welcome” and then go in it.
Now server needs to be told that this is a resource. We tell the server to load this by creating a new file in it, call…
VIDEOS
So … this is it. Good luck and welcome.
2 Likes