0298

From GTAMods Wiki
Revision as of 05:29, 29 July 2016 by Spaceeinstein (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

GTA III Vice City San Andreas GET_NUM_OF_MODELS_KILLED_BY_PLAYER


Description
Gets the number of models killed by the player
Syntax
GTA III Vice City 0298: [var] = rampage_kills [int]
San Andreas 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

See also

  • GTA III Vice City San Andreas 01F9, starts a rampage
  • GTA III Vice City San Andreas 0297, resets the number of models killed by the player