Ezio Baggins Posted February 16, 2018 Share Posted February 16, 2018 In scripthookvdotnet i am trying to use, Vehicle vehicle = GTA.World.CreateRandomVehicle(Game.Player.Character.Position + player.ForwardVector * 5); Which is always giving me error, The function calls (in SVHDN), int outModel, outInt; unsafe { Function.Call(Hash.GET_RANDOM_VEHICLE_MODEL_IN_MEMORY, 1, &outModel, &outInt); } Model model = outModel; where : outModel a random vehicle hash loaded in memoryoutInt 0 if success, -1 if failed When i print : GTA.UI.Notification.Show(outModel.ToString() + " " + outInt.ToString()); I always get "0 0" in notification. Please help, Thank you. Link to comment Share on other sites More sharing options...
alloc8or Posted February 16, 2018 Share Posted February 16, 2018 GET_RANDOM_VEHICLE_MODEL_IN_MEMORY does nothing. It's not present in the retail version of the game. Ezio Baggins 1 Link to comment Share on other sites More sharing options...