This tag is for questions related to the multiplayer modification FiveM for Grand Theft Auto V enabling you to play multiplayer on customized dedicated servers by Cfx.re.
Questions tagged [fivem]
173 questions
-3
votes
1 answer
Math problem with coordinates, how would I calculate a certain coordinate?
I am building a system for FiveM, by using LUA.
For that system I need a specific coordinate.
Vehicle System ingame
The drawing of coordinates
I know coordinates A, B, C, D, E, P.
But now I want to know point G.
How would I do that with math, and…

Tovermannetje
- 1
- 1
-4
votes
1 answer
How to deobfuscate a Lua obfuscated script?
I have a script in LUA that I found to be obfuscated and I wonder how could I deobfuscated it? Because I need to edit it and I cannot find anything to deobfuscated it! And when it's seems to a deobfuscator I just don't understand how to use the…

YOMAN1792
- 1
- 1
- 4
-4
votes
1 answer
detecting player ID - fivem to js
hello iam developing a bot for fivem in javascript language but i dont know how to detect the player id for people who join the server please can any help this is my code
on('playerConnecting', async(name, setKickReason, deferrals) => {
…

tompano
- 1
- 1
-4
votes
1 answer
Bot is sending embed 6 times
I have this code, but the bots is sending the same embed 6 times. I generated a new token for the bot and created a new bot but the same problem.
on("playerConnecting",async(name) => {
const player = global.source;
let discorddd = "NOT…

Salim
- 1
- 2
-4
votes
1 answer
Writen .lua to normal .lua
This is in FiveM and I dont know how to write this to 'normal' lua.
This is the code:
if LumiaM.Mfunc.Button('Give Yourself A Car (Specific)', 5, trigy) then
local player_id =…
-5
votes
1 answer
Does this line of Lua code contain any malicious activities?
So while looking at some server files (FiveM/GTA RP Server Files) my friend sent me, I found a line of code that was placed all over the Server's Resources, is it malicious?, since i checked "Hex to ASCII Text String Converter", it looks like it…

vipex
- 3
- 2