You can try last Beta Version
Now all is fine, very good script. Thanks @AlexGarcio .
@edit
xD
How can i trigger a ban from a client script? Iâm trying to get people (scriptkiddies) banned when they spawn in a blacklisted weapon. I have script that removes the weapon but i would like to add a sqban to it.
I have codes this this 8 month ago but not add.
I will add it soon i have time to code
@Matzbear itâs done, but he are code for last Dev Version
Thanks for the quick reply! I will test this tonight
Does not seem to work unfortunately
@Matzbear have you trigger the event from server side?
No from client side
âCan be use with TriggerServerEvent(âbansql:icheatâ) on client side on the anti-cheat systemâ
@AlexGarcio
Is it possible with your âself ban ServerEvent for anti-cheatâ to add a custom reason on the ban?
and I guess you have to put the trigger that way?
âTriggerServerEvent(âbansql:icheatâ, source)â
i tried that but that didnât work either, if u try (âbansql:icheatâ, 0) is says invalid id in te console. So i guess its looking for a player id, i just donât know how to add it to the script that i use. I tried (âbansql:icheatâ, playerPed) but that also does nothing
Why is it not on english for me? please help
@Matzbear All fixed in last dev version
I have add the custom reason you want too just go look in client.lua you have 2 demo trigger
@w0rt3x_13 go look in the config.lua file at line 4
Config.Lang = âfrâ --Set lang (fr-en)
Works great thanks!
Iâm triggering it from a client.lua, you are trying it from a server.lua. Iâm also trying to ban script triggers like you are trying but i also get the same error u have. But for clienttriggers it works great.
@ItzikNossette the code are build to be call from client side.
But i can recode it again to accept call from server too
If you can, it would be cool ^^
Trigger from client and server side would be awesome! Thanks for being so active in helping the community against cheaters
@ItzikNossette & @Matzbear itâs done.