FiveM Scripting #3 -NativeUI Reloaded

Опубликовано: 12 Июнь 2026
на канале: CurryScripts
2,131
34

In dieser Video-Serie erkläre ich dir wie du einfach und durchdacht FiveM Scripting lernen kannst !

═════════════════════════════════════

Link zu LUA : http://www.lua.org/manual/5.1/de/manu...

═════════════════════════════════════

Link zum Discord :   / discord  

═════════════════════════════════════

Functions aus dem Code :

function AddMarker(x, y, z)
DrawMarker(1, x, y, z - 1, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.6, 0.6, 0.5, 0, 191, 255, 100, false, true, 2, false,
nil, nil, false)
end

function GetDistance(ped, targetCoords, distance)
local coords = GetEntityCoords(ped)
local dist = Vdist(coords, table.unpack(targetCoords))
if dist SPITZE KLAMMER LINKS = distance then
return true
end
end

function ShowHelp(text, bleep)
BeginTextCommandDisplayHelp("STRING")
AddTextComponentSubstringPlayerName(text)
EndTextCommandDisplayHelp(0, false, bleep, -1)
end