Off-Road Traffic [.NET/C#] 1.3.0


This script spawns vehicles on dirt roads to make them less lonely. The cars types are random, from a configurable list in the script. Cops and Marines will spawn with two random weapons (Marines only spawn at the military base).


You must have ScripthookvDotNet installed.
Place the Traffic.cs file in either your ...\Installationfolder\Scripts\ folder, or if you use my mod manager, place it in its own subdirectory like this:

GTAV Mods\OffRoadTraffic\Scripts\Traffic.cs

changes from 1.2.2 -> 1.3.0
  • Rehauled vehicle spawn location code
  • making sure vehicles are facing the correct heading on the road
  • Prevents vehicles from spawning when the player is in the air

  • changes from 1.2.1 -> 1.2.2
  • Minor code change to prevent issues adding more locations
  • overhaul on vehicle/pedestrian generation
  • .

    changes from 1.1 -> 1.2.1
  • Fixed a typo that may cause the script to no longer function
  • Added 3 more vehicles (Jeeps) Thanks tall70
  • Added BF Injection and Dune vehicles Thanks JWillMac51!
  • Removed hard coded distance and use per Location distance for check
  • Made the tick rate lower for driving faster than 40f (was 3 seconds now is 2)
  • Added a check to make sure the pedestrian spawned before trying to give weapons
  • Added configurable setting for spawn speed when driving fast and slow
  • .


    This mod is based off of the mod released by @5mith . I have converted the code from VB and re-wrote most of the functions to be a lot lighter on the CPU time, and easier to modify and read.
    Show Full Description

    Poprvé nahráno: 06. srpen 2015
    Poslední aktulizace: 26. říjen 2015
    Last Downloaded: před jedním dnem

    All Versions

     1.3.0 (current)

    4.399 stažení , 4,0 KB
    06. srpen 2015

    37 Komentářů