tweak: get invoking resource on create ped

This commit is contained in:
Andyyy7666
2023-12-01 15:54:46 +01:00
parent 700d422477
commit ce29f21a90

View File

@@ -120,7 +120,7 @@ function NDCore.createAiPed(info)
point = point,
blip = blip,
options = info.options,
resource = GetInvokingResource()
resource = info.resource or GetInvokingResource()
}
function point:onEnter()