Зарежда...
1 харесван файл
146 коментара
0 видеоклипа
0 качвания
0 последователи
  • Default

    Btw, would you know how to make the ear radio disappear when dead? It seems to reappear after re-spawning with what I've tried:
    private void looseEarRadioFunc(Ped ped)
    {
    if (this.headset)
    {
    this.soundFX(Game.Player.Character, "beep.wav");

    Function.Call(Hash._0xC69EDA28699D5107, (InputArgument)"OFF");
    Function.Call(Hash._0x1098355A16064BB3, (InputArgument)false);
    Function.Call(Hash._0x0943E5B8E078E76E, Game.Player.Character, 2);
    this.headset = false;
    }
    }

    27 февруари 2020
  • Default

    there seems to be a bug where you can't unequip holster without a pistol..?

    26 февруари 2020
  • Default

    @Hunk Possible to implement a working fuel gauge on the vehicle dash?

    17 февруари 2020
  • Default

    Fixed it by removing the latest update from the dlclist

    12 февруари 2020
  • Default

    this and benny's mod crash the game when loading a saved game three times with multiplayer maps enabled

    11 февруари 2020
  • Default

    Is it possible to decompile an asi file?

    11 февруари 2020
  • Default
  • Default

    Or better yet, can you send me the source code? (I wanna abort the mission when the character dies)

    03 февруари 2020
  • Default

    Would it be possible to add helicopter extraction? It’d be sick to call a Valkerye for an escape

    02 февруари 2020
  • Default

    Here's some code that I suggest adding in somehow to make it so the character can carry one weapon at a time when not wearing a bag:

    public static int GetBigWeaponCount(Ped ped)
    {
    int num = 0;
    foreach (Utilities.BigWeapons bigWeapons in Enum.GetValues(typeof(Utilities.BigWeapons)))
    {
    if (Function.Call<bool>(Hash._0x8DECB02F88F428BC, (InputArgument)ped.Handle, (InputArgument)bigWeapons.GetHashCode(), (InputArgument)false))
    ++num;
    }
    return num;
    }

    public static int GetSmallWeaponCount(Ped ped)
    {
    int num = 0;
    foreach (Utilities.SmallWeapons smallWeapons in Enum.GetValues(typeof(Utilities.SmallWeapons)))
    {
    if (Function.Call<bool>(Hash._0x8DECB02F88F428BC, (InputArgument)ped.Handle, (InputArgument)smallWeapons.GetHashCode(), (InputArgument)false))
    ++num;
    }
    return num;
    }

    public static int GetExplosivesCount(Ped ped)
    {
    int num = 0;
    foreach (Utilities.Explosives explosives in Enum.GetValues(typeof(Utilities.Explosives)))
    {
    if (Function.Call<bool>(Hash._0x8DECB02F88F428BC, (InputArgument)ped.Handle, (InputArgument)explosives.GetHashCode(), (InputArgument)false))
    ++num;
    }
    return num;
    }

    public static int GetMiscCount(Ped ped)
    {
    int num = 0;
    foreach (Utilities.Misc misc in Enum.GetValues(typeof(Utilities.Misc)))
    {
    if (Function.Call<bool>(Hash._0x8DECB02F88F428BC, (InputArgument)ped.Handle, (InputArgument)misc.GetHashCode(), (InputArgument)false))
    ++num;
    }
    return num;
    }
    public static int GetMeleeCount(Ped ped)
    {
    int num = 0;
    foreach (Utilities.Melee melee in Enum.GetValues(typeof(Utilities.Melee)))
    {
    if (Function.Call<bool>(Hash._0x8DECB02F88F428BC, (InputArgument)ped.Handle, (InputArgument)melee.GetHashCode(), (InputArgument)false))
    ++num;
    }
    return num;
    }

    private enum BigWeapons : uint
    {
    SniperRifle = 100416529, // 0x05FC3C11
    FireExtinguisher = 101631238, // 0x060EC506
    CombatPDW = 171789620, // 0x0A3D4D34
    HeavySniper = 205991906, // 0x0C472FE2
    PumpShotgun = 487013001, // 0x1D073A89
    HeavyShotgun = 984333226, // 0x3AABBBAA
    Minigun = 1119849093, // 0x42BF8A85
    GrenadeLauncherSmoke = 1305664598, // 0x4DD2DC56
    Gusenberg = 1627465347, // 0x61012683
    CompactRifle = 1649403952, // 0x624FE830
    HomingLauncher = 1672152130, // 0x63AB0442
    Railgun = 1834241177, // 0x6D544C99
    SawnOffShotgun = 2017895192, // 0x7846A318
    BullpupRifle = 2132975508, // 0x7F229F94
    Firework = 2138347493, // 0x7F7497E5
    CombatMG = 2144741730, // 0x7FD62962
    CarbineRifle = 2210333304, // 0x83BF0278
    MG = 2634544996, // 0x9D07F764
    BullpupShotgun = 2640438543, // 0x9D61E50F
    GrenadeLauncher = 2726580491, // 0xA284510B
    Musket = 2828843422, // 0xA89CB99E
    AdvancedRifle = 2937143193, // 0xAF113F99
    RPG = 2982836145, // 0xB1CA77B1
    AssaultRifle = 3220176749, // 0xBFEFFF6D
    SpecialCarbine = 3231910285, // 0xC0A3098D
    MarksmanRifle = 3342088282, // 0xC734385A
    AssaultShotgun = 3800352039, // 0xE284C527
    DoubleBarrelShotgun = 4019527611, // 0xEF951FBB
    AssaultSMG = 4024951519, // 0xEFE7E2DF
    SMG = 736523883, // 0x2BE6766B
    MicroSMG = 324215364, // 0x13532244
    CarbineRifleMKII = 0x83BF0278,
    SpecialCarbineMKII = 0x969C3D67,
    AssaultRifleMKII = 0x394F415C,
    BullupRifleMKII = 0x84D6FAFD,
    CombatMGMKII = 0xDBBD7280,
    HeavySniperMKII = 0xA914799,
    MarksManRifleMKII = 0x6A6C02E0,
    WidowMaker = 0xB62D1F67,
    SmgMKII = 0x78A97CD0,
    RayCarbine = 0x476BF155,
    }

    private enum SmallWeapons : uint
    {
    VintagePistol = 137902532, // 0x083839C4
    Pistol = 453432689, // 0x1B06D571
    APPistol = 584646201, // 0x22D8FE39
    StunGun = 911657153, // 0x3656C8C1
    FlareGun = 1198879012, // 0x47757124
    CombatPistol = 1593441988, // 0x5EF9FEC4
    Pistol50 = 2578377531, // 0x99AEEB3B
    SNSPistol = 3218215474, // 0xBFD21232
    Revolver = 3249783761, // 0xC1B3C3D1
    HeavyPistol = 3523564046, // 0xD205520E
    MachinePistol = 3675956304, // 0xDB1AA450
    MarksmanPistol = 3696079510, // 0xDC4DB296
    PistolMKII = 0xBFE256D4,
    RayPistol = 0xAF3696A1,
    HeavyRevolverMKII = 0xCB96392F,
    DoubleActionRevolver = 0x97EA20B8,
    SnsPistolMKII = 0x88374054,
    JerryCan = 0x34A67B97,
    }
    private enum Explosives : uint
    {
    StickyBomb = 0x2C3731D9,
    Grenade = 0x93E220BD,
    Cocktail = 0x24B17070,
    BZ = 0xA0973D5E,
    PipeBomb = 0xBA45E8B8,
    TearGas = 0xFDBC8A50,
    Flare = 0x497FACC3,
    ProximityMine = 0xAB564B93,

    }
    private enum Misc : uint
    {
    SnowBall = 0x787F0BB,
    Ball = 0x23C9F95C,
    Knife = 0x99B507EA,
    SwitchBlade = 0xDFE37640,
    Flashlight = 0x8BB05FD7,
    Dagger = 0x92A27487,
    BrassKnuckles = 0xD8DF3C3C,

    }
    private enum Melee : uint
    {
    Bat = 0x958A4A8F,
    BrokenBottle = 0xF9E6AA4B,
    CrowBar = 0x84BD7BFD,
    GolfClub = 0x440E4788,
    Hammer = 0x4E875F73,
    Hatchet = 0xF9DCBF2D,
    Machete = 0xDD5DF8D9,
    NightStick = 0x678B81B1,
    PipeWrench = 0x19044EE0,
    BattleAxe = 0xCD274149,
    PoolCue = 0x94117305,
    StoneHatchet = 0x3813FC08,
    }
    }
    }

    Разгърни за да можеш да прочетеш цялото съдържание на коментара
    01 февруари 2020