LUA-DOKUMENTATION

Erstelle etwas Eigenes.

Erkunde die Premium API, GTA-Natives und Skriptbeispiele.

Einstieg und Skriptbeispiele

Skripte speichern unter %LOCALAPPDATA%\Nenyoo\Plus\Scripts\User\. Drücke im Spiel F10 für die Lua-Konsole.

Verwende den Skript-Thread für Natives, Speicher und Entitäten und den Render-Thread zum Zeichnen. Pausiere mit util.yield(ms), nicht mit WAIT.

Erstelle neue Skripte mit engine und foundation. Die Stand-Schicht unterstützt bestehende Stand-Skripte in Scripts/User/stand/.

Ein Umschalt-Skript

-- Scripts/User/heal_me.lua -- A plain script becomes an on/off toggle. script.on_tick(function() local me = PLAYER.PLAYER_PED_ID() ENTITY.SET_ENTITY_HEALTH(me, 328) end)

Ein Untermenü-Skript

-- Scripts/User/my_tools.lua -- @nenyoo-menu local root = menu.my_root() menu.action(root, "Heal me", {}, "Full health", function() local me = PLAYER.PLAYER_PED_ID() ENTITY.SET_ENTITY_HEALTH(me, 328) end) local sub = menu.list(root, "More", {}, "Nested page") menu.action(sub, "Repair car", {}, "", function() local me = PLAYER.PLAYER_PED_ID() local v = PED.GET_VEHICLE_PED_IS_IN(me, false) if v ~= 0 then VEHICLE.SET_VEHICLE_FIXED(v) end end)

Referenz wird geladen…

Lua-Skripte | Nenyoo

Lua-Skripte — Offizielles Nenyoo Mod-Menü für GTA 5 Online und FiveM. Vergleiche kostenlose und kostenpflichtige Angebote und entdecke Modding, Cheats, kostenloses Einkaufen und Lua-Skripte.