Look at this:
GTA.Native.Function.Call("LOAD_ALL_PATH_NODES", -165.2489f, 738.463f,18.2663f);// or "LOAD_PATH_NODES_IN_AREA" or Game.LoadAllPathNodes=true;
Vector3 spawn_place= new Vector3 (-159.4306f, 702.650f, 10.6845f);
Vector3 destination = new Vector3 (-165.2489f, 738.463f, 18.2663f);
Ped target= World.CreatePed (0x5B404032, spawn_place, RelationshipGroup.Player);
target.ChangeRelationship (RelationshipGroup.Player, Relationship.Hate);
Why it doesn't work?
Ped doesn't go to destination. I tried to create ped on pavement. (ped was going to destinetion, but after a dozen meters he just disappeared.)
Moreover, .GoTo (destination,true) doesn't work too. (ped disappearing).
Can you help me?
Edited by GTA_Player_M, 28 June 2013 - 09:37 AM.