![[PAID][STANDALONE][ESX][QB] Anti VDM main image](https://forum-cfx-re.akamaized.net/optimized/4X/1/0/8/108e2d26d7e34e52636737878c2892d7f976433f_2_345x194.jpeg)
Price
UnknownA script by _Wiro
Price
UnknownThis script protects your players from VDM players
In the script you have a json file that stored the data of the players who trust the VDM. If a player VDM and it is not in the file, they will be kicked or banned from the server, you can edit this in the config file.
The player killed by the driver is automatically revived, you can also edit this in the config.
Admins can add trusted players in the list with a command easily.
ESX & QB & STANDALONE
No need SQL | json save system
Easy config
0.0 Resmon value on client
Config = {}
-- IMPORTANT | read If you using STANDALONE
-- you have to add "add_ace (group Name) (command Name) allow" in your server.cfg so admin can use the command
-- example
-- add_ace group.admin VDMTrust allow
-- with this admins are able to use /VDMTrust command
-- u can use the command in your server console
Config.frameWork = "ESX" -- Select a framework | ESX / QB / STANDALONE
Config.command = "VDMTrust" -- command will showed on chat
Config.identifierType = "steam:" -- this only for standalone user if u don't know what are u doing don't touch it
Config.ban = false -- If its true it will ban the VDM driver | if its false it will kick the driver
Config.kickmessage = "You kicked because u break the rule VDM" -- Kick message
Config.revive = true -- If VDM driver is not in the trusted list victim will be revived
Config.reviveEvent = 'esx_ambulancejob:revive' -- This will revive the player get killed | Config.revive has to be true | event will send the dead player's id
Config.banServerEvent = 'x' -- its has to be server event and antiVDM script will only send the id of who maked VDM
---
Config.chatHelpMessage = "Add trustable player to VDM list"
Config.playerIdHelpMessage = "Target player ID"
Config.SendMessage = function(source, alreadyAdded)
if alreadyAdded then
--TriggerClientEvent("eventNamehere", source, "Player was already added")
else
--TriggerClientEvent("eventNamehere", source, "Player succesfully added")
end
end
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 200 |
Requirements | STANDALONE OR ESX OR QB |
Support | Yes |
No approved reviews found for this script yet.