Difference between revisions of "SET CAR AS MISSION CAR"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with 'Number Of Parameters: 2 Parameter 1: Vehicle Handle <br/> Parameter 2: Bool (True/False) (Yes/No) Description: <br/>Marks the specified vehicle so it will not be deleted from g…')
 
 
Line 1: Line 1:
Number Of Parameters: 2
+
{{Native
 +
|np=2
 +
|p1t=Integer
 +
|p1d=Vehicle Handle
 +
|p2t=Boolean
 +
|p2d=True
 +
}}
  
Parameter 1: Vehicle Handle <br/>
+
Marks the specified vehicle so it will not be deleted from game world; opposite of "MARK_CAR_AS_NO_LONGER_NEEDED" function.  Vehicle will not be deleted no matter how far player is from it even if vehicle is destroyed.  Use "MARK_CAR_AS_NO_LONGER_NEEDED" function to flag the game to dispose of it when appropiate.
Parameter 2: Bool (True/False) (Yes/No)
 
 
 
Description: <br/>Marks the specified vehicle so it will not be deleted from game world; opposite of "MARK_CAR_AS_NO_LONGER_NEEDED" function.  Vehicle will not be deleted no matter how far player is from it.
 

Latest revision as of 05:11, 16 February 2011

SET_CAR_AS_MISSION_CAR
Number of parameters: 2
Parameter #TypeDescription
1.IntegerVehicle Handle
2.BooleanTrue
Return value:
TypeDescription
None

Marks the specified vehicle so it will not be deleted from game world; opposite of "MARK_CAR_AS_NO_LONGER_NEEDED" function. Vehicle will not be deleted no matter how far player is from it even if vehicle is destroyed. Use "MARK_CAR_AS_NO_LONGER_NEEDED" function to flag the game to dispose of it when appropiate.