05.11.2016, 16:06
Hi, I'm working on my roleplay gamemode and I'm trying to add some nice features to the damage system. My question is how can I make player crash through windshield when he crashes with a vehicle? I'm using Emmet's callbacks include which has OnPlayerCrashVehicle callback. I know I need to use SetPlayerVelocity to do that. I tried doing it myself, but it I couldn't get it work how it's supposed to. Can someone explain me how to do that?