mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-08-18 22:36:03 +01:00
tweak: get invoking resource on create ped
This commit is contained in:
@@ -120,7 +120,7 @@ function NDCore.createAiPed(info)
|
|||||||
point = point,
|
point = point,
|
||||||
blip = blip,
|
blip = blip,
|
||||||
options = info.options,
|
options = info.options,
|
||||||
resource = GetInvokingResource()
|
resource = info.resource or GetInvokingResource()
|
||||||
}
|
}
|
||||||
|
|
||||||
function point:onEnter()
|
function point:onEnter()
|
||||||
|
|||||||
Reference in New Issue
Block a user