Jump to content
  • 0

How to block cheats?


Jaysds1

Question

Posted

When I'm on my free roam server, a player told me to type in cv 431.1 I think, and it gave the person a tank...

How do you block people from doing that?

9 answers to this question

Recommended Posts

  • 0
Posted

Well, the obvious thing to do is to not just type in random stuff people tell you to type in?

  • 0
  • Discord Moderators
Posted

Anyone can type in /cv X.X and it'll parse the restricted vehicles list. Force a hole number before using server.giveMeVehicles

  • 0
Posted
Well, the obvious thing to do is to not just type in random stuff people tell you to type in?

I wanted to try it for server/future purposes.

So there is no way of blocking it?

  • 0
Posted

fr_server.lua

line 320

replace the existing line with this one:

elseif not table.find(getOption('vehicles.disallowed'), math.floor(vehID)) then

after being in scripting forums for such a long time you should be able to fix this so very easily, shame that you still cant.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...