Difference between revisions of "ALLOCATE SCRIPT TO OBJECT"

From GTAMods Wiki
Jump to navigation Jump to search
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
|p1t=string
 
|p1t=string
 
|p1d=Script Name
 
|p1d=Script Name
|p2t=float
+
|p2t=integer
|p2d=Unknown
+
|p2d=[[List of models hashes|Model Hash]]
 
|p3t=integer
 
|p3t=integer
|p3d=Unknown (always 100)
+
|p3d=priority (always 100)
 
|p4t=float
 
|p4t=float
|p4d=Unknown
+
|p4d=radius
 
|p5t=integer
 
|p5t=integer
|p5d=Unknown (always -1)
+
|p5d=type (always -1)
 
|r=0
 
|r=0
 
}}
 
}}
 
+
Allocates a script to an object, which will be activated when the player is within the specified area around it.
Allocates a script to an object.
 
  
 
{{Incomplete}}
 
{{Incomplete}}

Latest revision as of 11:23, 23 February 2009

ALLOCATE_SCRIPT_TO_OBJECT
Number of parameters: 5
Parameter #TypeDescription
1.stringScript Name
2.integerModel Hash
3.integerpriority (always 100)
4.floatradius
5.integertype (always -1)
Return value:
TypeDescription
None

Allocates a script to an object, which will be activated when the player is within the specified area around it.

This section is incomplete. You can help by fixing and expanding it.