Simple self-written mods don't work. Help(

  • Hi everyone, I am a novice mod developer and I am facing a problem. I have written a pretty simple mod. The essence of which: After pressing the key f12 over the map displays a message that the mod is running, and within a radius of 10 meters from the player fall random cars from the sky with a height of 20 meters, and a delay of 10 seconds. I wrote it and the problem is that as soon as I try to go into story mode to check the mod the game just crashes. I hope you can help me fix this code

Don’t have an account yet? Register yourself now and be a part of our community!