Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0AB1

Opcode Database

0AB1

DescriptionThis opcode calls a SCM function, passes the parameters to it and stores the result to a variable(s). The passed parameters values are copied to the local variables in series, then the thread execution is transferred to the label, it executes code there and returns after the 0AB2.

Parameters:
1 = label (SCM function beginning)
2 = number of parameters to pass
Then there are the passed parameters, a number of 10 in our case. After that, there should be the variables to store the result of a SCM function (see 0AB2).
Parameters (v2)1) Label pointer (Integer) (LABEL)
2) Integer (INT)
3) Call arguments (...)
4) (Returned) Any value (...)
Gamessa
CategoryCLEO 3
San Andreas
sascm.ini0AB1=-1,call %1p%
Example0AB1: call @GetSQR 1 10 store_to 0@
Command NameCALL

<< 0AB0

0AB2 >>