Difference between revisions of "Native function"

From GTAMods Wiki
Jump to navigation Jump to search
(Redirecting to List of native functions)
 
Line 1: Line 1:
#REDIRECT [[List of native functions]]
+
Native function is a specific parameter used in [[GTA IV]] and [[GTA V]] script engine that perform various tasks. There is a "call" opcode for calling natives.
 +
 
 +
There are something like ~3000 of natives in GTA IV. Comparing to the scm-engine from previous GTA 3D series , which had one native to one opcode assigned , [[RAGE]] has less than 100 opcodes and they look like a real assembler , there is only one opcode for native calling . Native to call is the param of this opcode , this param is a hash of the native name.
 +
 
 +
== See Also ==
 +
 
 +
*[[List of native functions (GTA IV)]]
 +
*[[GTA V Native declarations]]
 +
*Scocl on [http://gtaforums.com/topic/492143-gta-iveflcrel-scocl/ gtaforums] has some explanation

Revision as of 12:29, 23 August 2014

Native function is a specific parameter used in GTA IV and GTA V script engine that perform various tasks. There is a "call" opcode for calling natives.

There are something like ~3000 of natives in GTA IV. Comparing to the scm-engine from previous GTA 3D series , which had one native to one opcode assigned , RAGE has less than 100 opcodes and they look like a real assembler , there is only one opcode for native calling . Native to call is the param of this opcode , this param is a hash of the native name.

See Also