Jump to content

Old Lantern 1.0.1

A mod to replace the normal lantern with the lantern that Arthur uses in the first mission.
   (0 reviews)

1 Screenshot

About This File

A mod to replace the normal lantern with the lantern that Arthur uses in the first mission.

 

Just put the asi file in the game directory. 

 

Some antiviruses flag this as a virus. This is a false positive. Please add this mod to the exclusions list if you use any of the following: Cylance, MaxSecure, and SecureAge.

 

Source code:

bool LanternGiven = false;

void Update()
{
	Hash currentWeapon = NULL;

	WEAPON::GET_CURRENT_PED_WEAPON(PLAYER::PLAYER_PED_ID(), &currentWeapon, NULL, 0, NULL);

	if (currentWeapon == 0x4A59E501) 
	{
		WEAPON::GIVE_WEAPON_TO_PED(PLAYER::PLAYER_PED_ID(), 0xF62FB3A3, 0, true, true, -1, false, 0.5, 1.0, 0x2CD419DC, true, 0.5, NULL);
		WEAPON::SET_CURRENT_PED_WEAPON(PLAYER::PLAYER_PED_ID(), 0xF62FB3A3, true, 0, NULL, NULL);	
		LanternGiven = false;
	}
	if (currentWeapon == 0xA2719263 && LanternGiven == false)
	{
		WEAPON::GIVE_WEAPON_TO_PED(PLAYER::PLAYER_PED_ID(), 0x4A59E501, 0, false, true, -1, false, 0.5, 1.0, 0x2CD419DC, true, 0.5, NULL);
		LanternGiven = true;
	}
}

 

Edited by WesternGamer

 Share

You may also like

  • Arthur Real Scale 6'1
    By REALEHAN
       2720   3   0
  • Lenny's Mod Loader RDR
    By LMS
       2349315   743   6
  • RDR 2 Asi Loader
    By LMS
       1495128   159   5
  • Hunting Wagon
    By ThreeSocks
       13690   21   2
  • RDR2 Seats
    By Shtivi
       8545   2   0
  • Graves
    By rejuvenate
       999   3   0
  • User Feedback

    Recommended Comments

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    ×
    ×
    • Create New...