Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 01FB

Opcode Database

01FB

DescriptionGets the square root of a number.
Parameters (v2)1) Float (FLOAT)
2) (Returned) Float (FLOAT)
Gamessa vc iii
CategoryMath
Command Name (IV)SQRT
San Andreas
sascm.ini01FB=2,sqrt %1d% store_to %2d%
Example01FB: sqrt 18@ store_to 28@
Command NameSQRT
Vice City
sascm.ini01fb=2,%2d% = square_root %1d%
Example01FB: $761 = square_root $760
Command NameSQRT
GTA III
gtascm.ini01fb=2,%2d% = square_root %1d%
Example01FB: $769 = square_root $768
Command NameSQRT

<< 01FA

01FC >>