mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-17 05:56:01 +01:00
tweak: get invoking resource on create ped
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user