Anti Troll


  • :shield: New player protection system
  • :ghost: Ghost mode for protected players
  • :timer_clock: Visual timer interface
  • :moneybag: Automatic rewards after protection period
  • :red_car: Vehicle damage prevention
  • :gun: Weapon usage prevention during protection

Code is accessible Yes
Subscription-based Yes
Lines (approximately) 100+
Requirements qbcore + oxmysql
Support Yes
3 Likes

This is a script that cannot be run. The database is missing. The style.css script.js is missing. You should complete it before publishing.

Dude check html file eveything is inside i forgot to delete cas and js from fxmanifest thats all, also why you need sql? QBCore has firstjoin as default in players

Error: hate-antitroll was unable to execute a query!
[ script:oxmysql] Query: SELECT firstjoin FROM players WHERE citizenid = ?
[ script:oxmysql] [“XES76020”]
[ script:oxmysql] Unknown column ‘firstjoin’ in ‘field list’

1 Like

I will make update today and add sql for who deosnt have firstjoin.

1 Like

Thank you for your contribution to the forum

1 Like

Theres no SQL in the github!!!

no need?

also if i add it manually for some reason theres no errors nothing but the timer does not show on screen

dont make it lower then 5 mins

i made it 60minutes

if theres no errors i cant track the problem, i know some people using it without issue. Add some prints and check yourself its opensource.

Now its working but damm the optimization is like none in this script tho.

image

It deff shouldn’t use that much of ms and it’s only me in server if theres like 50 players it would x50 that probably

resmon is client side thing, theres too many checks and threads thats normal. you can make optimization by yourself again, its opensource not a big deal. Dont pay money to others. I will make optimization soon.

i’m just saying because of the other anti troll script i found just no that pretty UI
But the other one was max 0.03ms on 35player server that i checked. I like your more because of the beutifuel UI design tho. Also i found an small bug when i logged off i had 41:40 but when i reloged i had only 38:10 so everytime you relog it loses time.

it checks server time not your local time. if it takes 3 mins to load back it can happen if it does when you reloged directly theres problem with database saving i will check

Can you make it for esx as well?