Difference between revisions of "0298"
Jump to navigation
Jump to search
(Created page with "{{OpCode | games = {{Icon|t}} | command = GET_NUM_OF_MODELS_KILLED_BY_PLAYER | description = Gets the number of models killed by the player | syntax1 = {{Icon|3}...") |
|||
Line 14: | Line 14: | ||
This opcode gets the number of ped and vehicle models killed by the player. The number of all models killed can be reset using opcode [[0297]]. A maximum number of 65535 kills can be stored per model. The number can be carried over to other game sessions until you reset it. | This opcode gets the number of ped and vehicle models killed by the player. The number of all models killed can be reset using opcode [[0297]]. A maximum number of 65535 kills can be stored per model. The number can be carried over to other game sessions until you reset it. | ||
+ | |||
+ | == Keywords == | ||
+ | get, query, num, number, model, killed, by, player, rampage, kills, destroyed, quantity | ||
== See also == | == See also == | ||
* {{Icon|t}} [[01F9]], starts a rampage | * {{Icon|t}} [[01F9]], starts a rampage | ||
* {{Icon|t}} [[0297]], resets the number of models killed by the player | * {{Icon|t}} [[0297]], resets the number of models killed by the player |
Latest revision as of 05:29, 29 July 2016
GET_NUM_OF_MODELS_KILLED_BY_PLAYER
- Description
- Gets the number of models killed by the player
- Syntax
- 0298: [var] = rampage_kills [int]
- 0298: get_player [player handle] destroyed_model [int] quantity_to [var]
- Parameter
- [player handle]
- The handle of the player
- [var]
- Variable to store the integer number
- [int]
- Valid model index as defined in the PEDS section or CARS section of the IDE file; also acceptable is the model's DFF name with a hash character
This opcode gets the number of ped and vehicle models killed by the player. The number of all models killed can be reset using opcode 0297. A maximum number of 65535 kills can be stored per model. The number can be carried over to other game sessions until you reset it.
Keywords
get, query, num, number, model, killed, by, player, rampage, kills, destroyed, quantity