5 online 18 members  + Join RP Base  +
ForumsScripts and Lua help

Guide: Write your first FiveM script in Lua

RPBaseNews5 hours ago0 replies0 views
Reply  +
#1
Make a folder with an fxmanifest.lua and a client.lua, register a command with RegisterCommand, start it with ensure and use restart yourscript after each change. Server code goes in server.lua and talks to the client through events.

The full guide: Write your first FiveM script in Lua

Questions, corrections or something the guide missed? Reply here and we will fold the good answers back into it.
Join the conversationLog in or create a free account to reply.