Taken down, CFX pls delete this post

Instead of looping

RemoveAllPickupsOfType

use

ToggleUsePickupsForPlayer

I have an example here if you want to use it :smile:

1 Like

Amazing thanks! :slightly_smiling_face:
I will optimise it today

1 Like

Download the latest version from github should work now

Hi if i punch the npc vehicle some of the npc-s get out of the vehicle and they are running away and i can steal the vehicle but i cant set all npc-s to ignore the player cuz i need them in other scripts but its possible to make only the npc-s who are driving a car to ignore the player ? Thank you.