Taskwander not working

cannot get the ped to wander around using this function.

How are you using the function? Can you share the code?

Here is how I set it up, and it works ok, in a client-side script

--entityID is the ID of the entity. Make sure the entity exists, using DoesEntityExist(entityID)
TaskWanderStandard(entityID, 10.0, 10)

Actually I am using "TaskWanderInArea " and here’s the code is the code it doesn’t work

Hello can someone help??