mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-17 05:56:02 +01:00
Kept forgetting to do this When using `makeDistPed()` (making a npc that only appears when nearby) you can now send a function to apply custom modifiers to it after the npc is created eg. ```lua makeDistPed(v.model[i], b, true, false, v.scenario, nil, nil, function(ped) if v["killable"] then SetEntityInvincible(ped, false) SetBlockingOfNonTemporaryEvents(ped, false) FreezeEntityPosition(ped, false) end end) ```
12 KiB
12 KiB