Difference between revisions of "STORE CAR CHAR IS IN NO SAVE"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with '{{Native |np=2 |p1t=handle |p1d=character handle |p2t=pointer |p2d=variable to store car handle }} This function will get the handle of the car where character P1 is, and store i…')
 
m
 
Line 4: Line 4:
 
|p1d=character handle
 
|p1d=character handle
 
|p2t=pointer
 
|p2t=pointer
|p2d=variable to store car handle
+
|p2d=pointer to car handle
 
}}
 
}}
 
This function will get the handle of the car where character P1 is, and store it in P2.
 
This function will get the handle of the car where character P1 is, and store it in P2.
  
 
NOTE : P2 is a pointer!
 
NOTE : P2 is a pointer!

Latest revision as of 01:10, 20 November 2011

STORE_CAR_CHAR_IS_IN_NO_SAVE
Number of parameters: 2
Parameter #TypeDescription
1.handlecharacter handle
2.pointerpointer to car handle
Return value:
TypeDescription
None

This function will get the handle of the car where character P1 is, and store it in P2.

NOTE : P2 is a pointer!