Cant access table entry at index
My local players
table uses the PlayerServerId as Index.
FiveM Script – AI Responds in Console but Not in UI
I’m working on a FiveM script that integrates an AI-powered NPC chat system using QBCore. The goal is for players to be able to approach NPCs, press “E” to interact, and have a conversation where both the player’s messages and the NPC’s AI-generated responses appear in a UI chat window.
My FiveM server slots are locked at a random number,did anyone face the same problem?
while configuring my FiveM server i found an error which locks my player slots to 84 even tho i have 180 available.
I am using cb-queue script but the problem is that when the server reaches 84 players it automatically puts the other players that are trying to join in this queue. Other players can only join the server when someone disconnects..
Also, as the time passes, the slots keep decreasing. For an example when i start the server it has 84/180 slots available but after 5 hours the slots reduce to 30/180 available
I’m new to LUA and creating meta files for config servers, but does anybody know why my suppressor and barrel doesn’t render in game?
I’m trying to create a custom meta for a reskinned carbine rifle and to do that, I’m trying to create the necessary custom meta files for the gun and as of right now the gun is able to be spawned and it renders fine, but the only thing it doesn’t render is the barrel and the suppressor. Below I have attached the metas.