@AlexGarcio
I have a mistake on my side.
Iām having the same error as @ItzikNossette
@ItzikNossette & @Matzbear Fixed
@AlexGarcio
Same problem after update
hey, after looking for a fix @ItzikNossette , @Matzbear
you would send us this :
-- checking for the issue number to string
print (target)
print (servertarget)
let us know the answer from your cmd !!
i keep getting this error when i try to ban someone
SCRIPT ERROR: @fivem-bansql/server.lua:578: attempt to concatenate a nil value (global āxblid1ā)
handler (@essentialmode/server/main.lua:190)
handler (@chat/sv_chat.lua:27)
@mastersammie itās fix.
thx fixed it
1.0.9 Steam no more require & Anti-Cheat Compatible
To update from older version you have to drop the 3 sql table
Add Event to be self ban for anti-cheat use
Add Anti-Cheat event call from server side can choose player to ban
Add Event demo for anti-cheat use
Edit Rework discord message
Edit Steam is no more require but stay compatible
Edit License is not used as primary info
Edit Improve french translation by @EagleOnee
Edit Improve english translation by @Zeemahh
Edit Code cleaning&optimisation
Fix Sql canāt be load
Fix Fix nil value (global āxblid1ā) at line 578
Is it posible to make the commands usable from the server console? Would make it easy to ban someone from my phone when i get an discord anticheat warning.
Guys when I trigger this event from my server :TriggerEvent(āBanSql:ICheatā, āAuto-Cheat Custom Reasonā,TargetId) events I wil get this error:
SCRIPT ERROR: @FiveM-BanSql/server.lua:232: attempt to compare number with string
Does anyone know how to fix this?
This is working great for me and my server but I canāt figure out one thing.
When I try the command /sqlsearch to get someoneās permid and try to search someoneās name it keeps giving me āBanlist: The Specified Name Is Not Validā
Iāve tried 3 things.
- Running someoneās name who is online and has never been SQLBanned
- Running someoneās name who is offline and has never been banned
- Running someoneās name who is offline and was perm banned using /sqlban
and I keep getting that same error message.
Can the dev or any users of this script give me some insight on why this may not be working?
- Brad
sqlsearch are case sensible.
If you search alex but my name is Alex you donāt find me.
But if you search Ale or lex you find Alex
If i ban someone only i see this ban message how i can do at all players see that message ?
Does anyone know how to make it appear in the text box? What i mean is the SQL function works but it says that it is not a valid command and it doest appear in the text box explaining what to do.
In the two photos you can see how sqlban doesnt have predictive text where as the emotes do for example. How would i change this? Any help will be appreciated
Does it work with esx?
Hi, how can I ban a person permanently?, if I set for example 1000 days, It doesnāt work, beacuse the days are too many.
0 day = perm ban