Relative Content

Tag Archive for luafivem

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