Old Lantern V1.0.1

Old Lantern V1.0.1

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(), ¤tWeapon, 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;
}
}

Requires: AB Scripthook

Credits:

WesternGamer

Downloads

NameFormatSize
OldLantern-1.0.1.zipZIP46.35 KB

To start download click the filename. To open archive files use one of these programs: WinRAR, 7-Zip, WinZip. Some mod archives may need to be extracted before the mods will work.

Rate this mod

You may also like...

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
0
Would love your thoughts, please comment.x
()
x