@JohnFromGWN Here is another excellent resource with code examples. Go through entities and you will find code for peds, vehicles, etc.

https://github.com/crosire/scripthookvdotnet/tree/main/source/scripting_v2/GTA