Opcode Database

Latest Forum Activity

GTAG - Modding - Opcode Database - Weapon

Weapon

Opcodes in category: Weapon
Opcodes 0 to 20 of 20
0113add_ammo_to_player $PLAYER_CHAR weapon 6 to 10vc iii
0114add_ammo_to_char $PLAYER_ACTOR weapon 38 rounds 200000sa vc iii
01B1give_player $player_char weapon 17 ammo 68 // Load the weapon model before using thisvc iii
01B2give_weapon_to_char 2@ weapon 28 ammo 60sa vc iii
01B9set_current_char_weapon 2@ to 0sa vc iii
01F9start_kill_frenzy 'RAMPAGE' weapon 22 time 30000 targets 30 models #CABBIE #TAXI #CABBIE #TAXI completed_text 1sa vc iii
0237set_gang_weapons 1 to 24 29 4sa vc iii
02D6is_char_shooting_in_area $PLAYER_ACTOR from -2774.03 -1572.78 to -2837.13 -1468.24 weapon 0sa
02D8is_char_holding_weapon $PLAYER_ACTOR weapon 28sa vc iii
02E2set_char_accuracy 2@ to 75sa vc iii
031Dhas_char_been_damaged_by_weapon $ACTOR_RYDER weapon 51sa vc iii
032Bcreate_pickup_with_ammo #M4 type 15 ammo 60 at 2021.879 1001.467 10.3203 store_to $811sa vc iii
041Aget_ammo_in_char_weapon $PLAYER_ACTOR weapon 22 store_to 41@sa vc iii
0464attach_ped_to_car 99@ car 68@ offset 266@ 267@ 268@ position 0 angle_limit 0.0 weapon 0sa vc
0467clear_char_last_weapon_damage $ACTOR_RYDERsa vc
046Fstore_player $player_char currently_armed_weapon_to 13@vc
0490player $player_char has_weapon 18vc
0491has_char_got_weapon $PLAYER_ACTOR weapon 46sa
081Aset_char_weapon_skill $ACTOR_SMOKE to 1sa
09EBplayer_take_off_goggles $PLAYER_CHAR animate 0sa