From e973c64ffd73c7c8938d6d18306809ddae7d1be8 Mon Sep 17 00:00:00 2001 From: derTweaky Date: Sat, 12 Jul 2025 12:27:31 +0200 Subject: [PATCH] Update makePed.lua Typo fix --- shared/make/makePed.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/shared/make/makePed.lua b/shared/make/makePed.lua index 3aa4515..6a819ab 100644 --- a/shared/make/makePed.lua +++ b/shared/make/makePed.lua @@ -62,7 +62,7 @@ function makePed(data, coords, freeze, collision, scenario, anim, synced) model = data.model loadModel(data.model) ped = CreatePed(0, model, coords.x, coords.y, coords.z - 1.03, coords.w, synced and synced or false, false) - SetEntityAplha(ped, 0, false) + SetEntityAlpha(ped, 0, false) -- Inheritance SetPedHeadBlendData(ped, data.custom.faceFather, data.custom.faceMother, data.custom.raceShape, data.custom.skinFather, data.custom.skinMother, data.custom.raceSkin, data.custom.faceMix or 0, data.custom.skinMix or 0, data.custom.raceMix or 0, false) @@ -116,7 +116,7 @@ function makePed(data, coords, freeze, collision, scenario, anim, synced) loadModel(model) if gameName == "rdr3" then ped = CreatePed(model, coords.x, coords.y, coords.z - 1.03, coords.w, synced or false, false) - SetEntityAplha(ped, 0, false) + SetEntityAlpha(ped, 0, false) SetEntityVisible(ped, 1) -- SetEntityVisible SetEntityAlpha(ped, 255, false) -- SetEntityAlpha SetRandomOutfitVariation(ped, true) -- Invisible without @@ -248,4 +248,4 @@ onResourceStop(function() for k in pairs(Peds) do DeletePed(Peds[k]) end -end, true) \ No newline at end of file +end, true)