Websites

This script allows you to add your own webites written in html, css and js, to do that you need to add a new folder into the websites folder in the scripts root directory. Example below.

Register a new website (server-side)

local success = exports.codebz_fraud:RegisterWebsite('mywebsite.com', 'websites/yournewfolderwithhtmlcssjs')
if success then
    print("Successfully registered a website!")
else
    print("Failed to register a website :(")
end
local successOnion = exports.codebz_fraud:RegisterOnionWebsite('secret.onion', 'websites/darkweb/yournewfolderwithhtmlcssjs')
if successOnion then
    print("Successfully registered a onion website!")
else
    print("Failed to register a onion website :(")
end

Last updated