GTAG - Modding - Opcode Database - 01F5
Opcode Database
01F5
| Description | Gets the character handle for the specified player. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) (Returned) Actor handle (Integer) (INT) |
| Games | |
| Category | Actor, Player |
| Command Name (IV) | GET_PLAYER_CHAR |
| San Andreas | |
| sascm.ini | 01F5=2,get_player_char %1d% store_to %2d% |
| Example | 01F5: get_player_char $PLAYER_CHAR store_to $PLAYER_ACTOR |
| Command Name | GET_PLAYER_CHAR |
| Vice City | |
| sascm.ini | 01F5=2,%2d% = create_emulated_actor_from_player %1d% |
| Example | 01F5: $player_actor = create_emulated_actor_from_player $player_char |
| Command Name | GET_PLAYER_CHAR |
| GTA III | |
| gtascm.ini | 01F5=2,%2d% = create_emulated_actor_from_player %1d% |
| Example | 01F5: $PLAYER_ACTOR = create_emulated_actor_from_player $PLAYER_CHAR |
| Command Name | GET_PLAYER_CHAR |

