Skip to content

Instantly share code, notes, and snippets.

View ImBaphomettt's full-sized avatar
😵

Baphomet ImBaphomettt

😵
  • France
View GitHub Profile
@ImBaphomettt
ImBaphomettt / casino-nightclub.lua
Created May 4, 2021 22:29
Get casino nightclub with light and more features.
local ENTER_VECTOR = vector3(987.5367, 79.6912, 80.9905)
local EXIT_VECTOR = vector3(1578.3608, 253.3105, -46.0051)
local IS_IN_NIGHTCLUB = false;
local Ped = {};
local REQUEST_IPLS = {
"h4_int_placement_h4_interior_1_dlc_int_02_h4_milo_",
};
@ImBaphomettt
ImBaphomettt / uuid.lua
Created August 23, 2019 10:14
(FiveM) LUA UUID generator (Server side) Based on https://luarocks.org/modules/tieske/uuid
uuid = {}
local bitsize = 32
local MATRIX_AND = { { 0, 0 }, { 0, 1 } }
local MATRIX_OR = { { 0, 1 }, { 1, 1 } }
local HEXES = '0123456789abcdef'
local function BITWISE(x, y, matrix)
local z = 0
@ImBaphomettt
ImBaphomettt / ExampleMenu.lua
Created July 26, 2019 20:34
NativeUILua-Reloaded example menu
ketchup = false
dish = "Banana"
quantity = 1
_menuPool = NativeUI.CreatePool()
mainMenu = NativeUI.CreateMenu("NativeUILua-Reloaded", "~b~NATIVEUI SHOWCASE")
_menuPool:Add(mainMenu)
function ShowNotification(text)
SetNotificationTextEntry("STRING")
AddTextComponentString(text)