Jump to content

is there a opcode to make cars and peds not spawn in a radius ?


Recommended Posts


hey im looking for a opcode that makes all cars and peds not spawn within a radius but i cant find it, could someone please show me what code it is


i need the town to be empty exept for the actors and cars i spawn

Edited by spidermight
Link to comment
Share on other sites

use opcode search, search for forbidden


or do somthing like this

if    PLAYER at locationthen     01EB: set_traffic_density_multiplier_to 0.0else    01EB: set_traffic_density_multiplier_to 1.0end(pseudo code)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.