0485

From GTAMods Wiki
Jump to navigation Jump to search

Vice City San Andreas IS_PC_VERSION


Description
Checks if the game is PC version
Syntax
0485:   pc_version
Parameter
none

This conditional opcode always returns true as the result for the PC version of the game. Otherwise, it always returns false. The return result is hardcoded into the game. This opcode was never called in the original script of Vice City.

Most mods generally support the PC version of the games so this opcode can generally be used to return true when returning from a gosub or an SCM function.

Keywords

PC, version, game, return, true