GTAG - Modding - Opcode Database - 0298
Opcode Database
0298
| Description | Gets the amount of times the player has destroyed a specific model. |
|---|---|
| Parameters (v2) | 1) Player handle (Integer) (INT) 2) Model (Integer) (MODEL) 3) (Returned) Integer (INT) |
| Games | |
| Category | Player |
| Command Name (IV) | GET_NUM_OF_MODELS_KILLED_BY_PLAYER |
| San Andreas | |
| sascm.ini | 0298=3,get_num_of_models_killed_by_player %1d% model %2o% store_to %3d% |
| Example | 0298: get_num_of_models_killed_by_player $PLAYER_CHAR model #TOPFUN store_to $BEEFYBARON_SCORE |
| Command Name | GET_NUM_OF_MODELS_KILLED_BY_PLAYER |
| Vice City | |
| sascm.ini | 0298=2,%2d% = rampage_kills %1d% |
| Example | 0298: $5564 = rampage_kills 83 |
| Command Name | GET_NUM_OF_MODELS_KILLED_BY_PLAYER |
| GTA III | |
| gtascm.ini | 0298=2,%2d% = rampage_kills %1o% |
| Example | 0298: $RC_BUGGY_KILLS = rampage_kills #DIABLOS |
| Command Name | GET_NUM_OF_MODELS_KILLED_BY_PLAYER |

