Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - 0057

Opcode Database

0057

DescriptionReturns true if the player is within the specified area cube.
Parameters (v2)1) Player handle (Integer) (INT)
2) X Coord (Float) (FLOAT)
3) Y Coord (Float) (FLOAT)
4) Z Coord (Float) (FLOAT)
5) X Coord (Float) (FLOAT)
6) Y Coord (Float) (FLOAT)
7) Z Coord (Float) (FLOAT)
8) Boolean (1 or 0) (INT)
Gamesvc iii
CategoryCommon, Conditional, Player, Sphere
Command Name (IV)IS_PLAYER_IN_AREA_3D
Vice City
sascm.ini0057=8, player %1d% coords %2d% %3d% %4d% to %5d% %6d% %7d% sphere %8b%
Example0057: player $player_char coords -57.7 -1468.8 13.4 to -69.1 -1487.2 9.0 sphere 0
Command NameIS_PLAYER_IN_AREA_3D
GTA III
gtascm.ini0057=8, player %1d% coords %2d% %3d% %4d% to %5d% %6d% %7d% sphere %8b%
Example0057: player $PLAYER_CHAR coords 1066.5625 -403.4999 14.0 to 1072.75 -393.9999 18.0 sphere 0
Command NameIS_PLAYER_IN_AREA_3D

<< 0056

0058 >>