Quantcast

Jump to content

» «
Photo

Vehicle re-spawn points

1 reply to this topic
Jimbatron
  • Jimbatron

    Big Homie

  • Members
  • Joined: 08 Jan 2009
  • United-Kingdom

#1

Posted 14 October 2017 - 07:07 AM

Random question, I don't suppose anyone could tell me how to create some code that will make a specific vehicle always respawn at a certain set of co-ordinates (as opposed to a one off spawn).


Jimbatron
  • Jimbatron

    Big Homie

  • Members
  • Joined: 08 Jan 2009
  • United-Kingdom

#2

Posted 15 October 2017 - 03:21 PM

Ok think I may have answered my own question. I think the native function 

CREATE_CAR_GENERATOR

will do this.

 

However another question, I'd like to implement new vehicle spawns in my custom multiplayer mode, and I think this would only work for the person running the script (i.e. other players going nearby wouldn't cause the vehicle to respawn).

 

I think I can get a vehicle to be spawned and appear on all players computer with SET_NETWORK_ID_EXISTS_ON_ALL_MACHINES but I don't think that will help to cause re-spawns for every player





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users