[.NET] Prevent blip attached to Ped disappear.
How can i prevent blip disappear when i'm not looking at ped that this blip is attached to. It's causing NullReferenceException when im trying to do sth with this ped and blip is gone (eg. make other ped drive to him).
If i spawn my own ped then attach blip it's not crashing anymore so i'm just cloning selected Ped and then deleting original ped and im attaching blip to his clone. But this ped's task are cancelled and i want to avoid this. Sadly i cannot do sth like clonedPed.Task = originalPed.Task. And if this ped is in vehicle then this vehicle get's deleted with all passangers and if 'll clone vehicle etc. it's stopping. Yes i can give him a task to cruise around but what if he was running away from eg. Player?
Can u help?