ALLOCATE SCRIPT TO OBJECT

From GTAMods Wiki
Jump to navigation Jump to search
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.