• New server API released! More than 200 new functions !

    • New server API released! More than 200 new functions !


    Thread Rating:
    • 0 Vote(s) - 0 Average
    • 1
    • 2
    • 3
    • 4
    • 5
    Damage weapons

    Contributor


    *
    37
    #1
    Damage weapons
    Code:
    //SniperRifle
                weaponInfo.weaponList[0].SetDamage(101);
                //FireExtinguisher
                weaponInfo.weaponList[1].SetDamage(1);
                //Snowball
                weaponInfo.weaponList[2].SetDamage(5);
                //VintagePistol
                weaponInfo.weaponList[3].SetDamage(34);
                //CombatPDW
                weaponInfo.weaponList[4].SetDamage(28);
                //HeavySniper
                weaponInfo.weaponList[5].SetDamage(216);
                //MicroSMG
                weaponInfo.weaponList[6].SetDamage(21);
                //Pistol
                weaponInfo.weaponList[7].SetDamage(27);
                //PumpShotgun
                weaponInfo.weaponList[8].SetDamage(29);
                //APPistol
                weaponInfo.weaponList[9].SetDamage(25);
                //Ball
                weaponInfo.weaponList[10].SetDamage(10);
                //Molotov
                weaponInfo.weaponList[11].SetDamage(30);
                //SMG
                weaponInfo.weaponList[12].SetDamage(22);
                //StickyBomb
                weaponInfo.weaponList[13].SetDamage(500);
                //PetrolCan
                weaponInfo.weaponList[14].SetDamage(10);
                //StunGun
                weaponInfo.weaponList[15].SetDamage(1);
                //HeavyShotgun
                weaponInfo.weaponList[16].SetDamage(117);
                //Minigun
                weaponInfo.weaponList[17].SetDamage(30);
                //GolfClub
                weaponInfo.weaponList[18].SetDamage(20);
                //FlareGun
                weaponInfo.weaponList[19].SetDamage(10);
                //Flare
                weaponInfo.weaponList[20].SetDamage(10);
                //GrenadeLauncherSmoke
                weaponInfo.weaponList[21].SetDamage(10);
                //Hammer
                weaponInfo.weaponList[22].SetDamage(10);
                //CombatPistol
                weaponInfo.weaponList[23].SetDamage(27);
                //Gusenberg
                weaponInfo.weaponList[24].SetDamage(34);
                //HomingLauncher
                weaponInfo.weaponList[25].SetDamage(500);
                //Nightstick
                weaponInfo.weaponList[26].SetDamage(10);
                //Railgun
                weaponInfo.weaponList[27].SetDamage(30);
                //SawnOffShotgun
                weaponInfo.weaponList[28].SetDamage(40);
                //BullpupRifle
                weaponInfo.weaponList[29].SetDamage(32);
                //Firework
                weaponInfo.weaponList[30].SetDamage(125);
                //CombatMG
                weaponInfo.weaponList[31].SetDamage(45);
                //CarbineRifle
                weaponInfo.weaponList[32].SetDamage(32);
                //Crowbar
                weaponInfo.weaponList[33].SetDamage(10);
                //Flashlight
                weaponInfo.weaponList[34].SetDamage(0);
                //Dagger
                weaponInfo.weaponList[35].SetDamage(20);
                //Grenade
                weaponInfo.weaponList[36].SetDamage(500);
                //Bat
                weaponInfo.weaponList[37].SetDamage(20);
                //Pistol50
                weaponInfo.weaponList[38].SetDamage(51);
                //Knife
                weaponInfo.weaponList[39].SetDamage(15);
                //MG
                weaponInfo.weaponList[40].SetDamage(40);
                //BullpupShotgun
                weaponInfo.weaponList[41].SetDamage(14);
                //BZGas
                weaponInfo.weaponList[42].SetDamage(1);
                //Unarmed
                weaponInfo.weaponList[43].SetDamage(5);
                //GrenadeLauncher
                weaponInfo.weaponList[44].SetDamage(500);
                //Musket
                weaponInfo.weaponList[45].SetDamage(165);
                //ProximityMine
                weaponInfo.weaponList[46].SetDamage(500);
                //AdvancedRifle
                weaponInfo.weaponList[47].SetDamage(34);
                //RPG
                weaponInfo.weaponList[48].SetDamage(500);
                //SNSPistol
                weaponInfo.weaponList[49].SetDamage(28);
                //AssaultRifle
                weaponInfo.weaponList[50].SetDamage(30);
                //SpecialCarbine
                weaponInfo.weaponList[51].SetDamage(32);
                //Revolver
                weaponInfo.weaponList[52].SetDamage(160);
                //MarksmanRifle
                weaponInfo.weaponList[53].SetDamage(65);
                //HeavyPistol
                weaponInfo.weaponList[54].SetDamage(40);
                //KnuckleDuster
                weaponInfo.weaponList[55].SetDamage(8);
                //MachinePistol
                weaponInfo.weaponList[56].SetDamage(27);
                //MarksmanPistol
                weaponInfo.weaponList[57].SetDamage(220);
                //Machete
                weaponInfo.weaponList[58].SetDamage(30);
                //SwitchBlade
                weaponInfo.weaponList[59].SetDamage(17);
                //AssaultShotgun
                weaponInfo.weaponList[60].SetDamage(32);
                //AssaultSMG
                weaponInfo.weaponList[61].SetDamage(23);
                //Hatchet
                weaponInfo.weaponList[62].SetDamage(20);
                //Bottle
                weaponInfo.weaponList[63].SetDamage(20);
                //SmokeGrenade
                weaponInfo.weaponList[64].SetDamage(1);
    You can change the damage as you like .
    08-26-2016, 11:28 PM
    Find

    Head Admin


    *******
    289

    0
    #2
    RE: Damage weapons
    You can also define negative damage (for heal)
    08-27-2016, 10:49 AM
    Find


    Forum Jump:


    Users browsing this thread: 1 Guest(s)

    About V-Multiplayer

    V-Multiplayer (V-MP) is a free multiplayer mod for Grand Theft Auto V allowing players to play with and against each others online. The mod runs under a server-client model modifiable through an API using C-Sharp. The project was initiated on March 23rd 2016 and will soon allow you to play with more than a hundred players at the same time in a stable, entirely customizable and cheaters-less game mode!