AmirrezaJaberi / FIREAC

✅ FiveM Strongest Anticheat
GNU Affero General Public License v3.0
165 stars 53 forks source link

fix admin checkings and weapon blacklist fix #1

Closed CsokiHUN closed 2 years ago

CsokiHUN commented 2 years ago

Only one admin had a rank because the for loop was faulty.

CsokiHUN commented 2 years ago

In my version, it doesn't delete all the guns except the one on the blacklist.

AmirrezaJaberi commented 2 years ago

Hi @CsokiHUN,

Thanks for your pull request . We are test this code & don't have any problem .

for example :

RemoveAllPedWeapons(PlayerPedId(), true)

This true you can check https://docs.fivem.net/natives/?_0xF25DF915FA38C5F3 from FiveM document !

if i put RemoveWeaponFromPed player (maybe cheater) ram involved for find that weapon .

About admin system ' there is no difference with " this is because of for ... do problem i will fix it soon !

CsokiHUN commented 2 years ago

I rewrote the weapon removal so that it does not only remove the weapon on the blacklist. By default, it removes all of them.

I fixed the admin check merge is available.

About admin system ' there is no difference with " this is because of for ... do problem i will fix it soon !

I know there is no difference, I just used a formatter and it rewrote it.

AmirrezaJaberi commented 2 years ago

okey i accept your Merge pull request thanks for choose my anti cheat !