Difference between revisions of "REQUEST MODEL"

From GTAMods Wiki
Jump to navigation Jump to search
(New page: {{Native |noheader=0 |np=1 |np=1 |p1t=integer |p1d=Model Hash |r=0 }} Loads a model specified by the Model Hash. Category:Native functions)
 
m
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Native
 
{{Native
|noheader=0
 
|np=1
 
 
|np=1
 
|np=1
 
|p1t=integer
 
|p1t=integer
Line 8: Line 6:
 
}}
 
}}
  
Loads a model specified by the Model Hash.
+
Loads a model specified by the [[List of models hashes|model hash]].
  
[[Category:Native functions]]
+
Code example:
 +
REQUEST_MODEL( 1667998832 );

Latest revision as of 00:19, 12 June 2017

REQUEST_MODEL
Number of parameters: 1
Parameter #TypeDescription
1.integerModel Hash
Return value:
TypeDescription
None

Loads a model specified by the model hash.

Code example:

REQUEST_MODEL( 1667998832 );