Can someone help me with this error
So the problem is whenever I punch a car while using flash mod from NIB I get this error.
[16:52:01] [DEBUG] Started script 'NIBMods'.
[16:52:01] [DEBUG] Instantiating script 'PedSelector.PedSelector' in script domain 'ScriptDomain_45B80890' ...
[16:52:02] [DEBUG] Started script 'PedSelector.PedSelector'.
[16:52:02] [DEBUG] Instantiating script 'TFlash' in script domain 'ScriptDomain_45B80890' ...
[16:52:02] [DEBUG] Started script 'TFlash'.
[17:53:57] [ERROR] Caught fatal unhandled exception:
System.InvalidCastException: Unable to cast object of type 'GTA.Vehicle' to type 'GTA.Ped'.
at TFlash.12AA1(4AAAA ᙂ)
at TFlash.75AA1(Object ᙂ, EventArgs 1AAAA)
at GTA.Script.raise_Tick(Object value0, EventArgs value1)
I have no problem with this mod while using it in vanilla version of the game.
But since i installed redux mod, I am having this problem.
@kj-boy24 In layman's terms, the flash mod expects a ped but gets a vehicle instead. Idk why Nib wrote it that way. The applied velocity force should work on any entity(*), regardless.
(*) : Entity is the base type for both vehicle and ped.