props
HUNK_AC.AntiSpamProps
a very useful feature for detecting prop spam
if a cheater wants to troll the city then he probably will spawn too many objects around the city
and of course, we secured the server by whitelisted objects but if by any chance the cheater wants to spam the whitelisted objects then we detect him
if HUNK_AC.MaxPropsPerUser is 10 and HUNK_AC.MaxPropsCooldown is 3 then it means if anyone tries to spawn more than 10 objects under 3 seconds then get detected by the anticheat
the default numbers are fine but depends on your view about this part
we set the HUNK_AC.MaxPropsReaction to kick just in case
HUNK_AC.JobsThatCanSpamProps
these jobs can spam props like the police job that can spam cones around the street
also, I already added the objects used by police at HUNK_AC.WhitelistedPropsForJobsToSpam
so basically if you want a job to be able to spam objects then add it inside the jobs and also add the prop model inside the WhitelistedProps
HUNK_AC.OnlyWhitelistedProps
this is the recommended method to use for anti-spawn objects
I already added all the whitelisted objects from different scripts
as you can see the list is huge so don't worry about using that
also, we put the HUNK_AC.OnlyWhitelistedPropsReaction to kick just in case
if you got a false detection then you will get a log at Discord about it, right? So check the log message and it gives you a model
then copy the model number and go to
https://gta-objects.xyz/objects
or
and paste the model at the search box then search the model
then you can check the model image and then add it inside the WhitelistedProps
Last updated