Trying to spawn a vehicle, but it does not seem to work.
C#:
Debug.Write(“Starting SpawnArrest, Attempting to spawn vehicle.”);
createdVehicle = CreateVehicle(0x79FBB0C5, 534.557f, -26.6547f, 70.2424f, 135f, true, true);
Debug.Write(" New vehicle spawned with the ID " + createdVehicle.ToString());
Log:
[ 161703] Starting SpawnArrest, Attempting to spawn vehicle. New vehicle spawned with the ID 0
I am using the vehicle list from https://www.se7ensins.com/forums/threads/gta-v-vehicle-hashes-list.988584/