[FilterScript] Weapons Shop
#1

Hello, i was maked script weapons shop. In this script you can buy any weapon without army weapons. Cost of each weapons is saved in definition.
Код:
#define BrassKnucklesCost 500
#define GolfClubCost 500
#define NightstickCost 500
#define KnifeCost 500
#define BaseballBatCost 500
#define ShovelCost 500
#define PoolCueCost 500
#define KatanaCost 500
#define ChainsawCost 500
#define DoubleDildoCost 500
#define DildoCost 500
#define VibratorCost 500
#define SilverVibratorCost 500
#define FlowersCost 500
#define CaneCost 500
#define GrenadeCost 10000
#define TearGasCost 10000
#define MolotovCocktailCost 10000
#define GlockCost 5000
#define SilencedGlockCost 5000
#define DesertEagleCost 5000
#define ShotgunCost 10000
#define SawnOffShotgunCost 10000
#define CombatShotgunCost 10000
#define UziCost 5000
#define MP5Cost 5000
#define Tec9Cost 5000
#define AK47Cost 15000
#define M4Cost 15000
#define CountryRifleCost 25000
#define SniperRifleCost 25000
#define SpraycanCost 500
#define FireExtinguisherCost 500
#define CameraCost 500
#define ParachuteCost 500
You can change cost of any weapon what you can buy. But ammunition is assigned to type of weapon.
Код:
#define WeaponsMeleeAmmunition 1
#define WeaponsThrownAmmunition 50
#define WeaponsPistolsAmmunition 500
#define WeaponsShotgunsAmmunition 100
#define WeaponsMachinePistolsAmmunition 1000
#define WeaponsAssaultRiflesAmmunition 500
#define WeaponsRiflesAmmunition 100
#define WeaponsOtherAmmunition 1000
In this script i use dialogs from 0 to 9, so if you have dialogs with this ids you must change this.
Код:
#define DialogWeapons 0
#define DialogWeaponsMelee 1
#define DialogWeaponsThrown 2
#define DialogWeaponsPistols 3
#define DialogWeaponsShotguns 4
#define DialogWeaponsMachinePistols 5
#define DialogWeaponsAssaultRifles 6
#define DialogWeaponsRifles 7
#define DialogWeaponsOther 8
#define DialogWeaponsList 9
Okay, now i present you commands.
1. /Weapons - Gui with weapons to buy.
2. /W [Weapon Id] - You can buy weapon by id.
3. /Weaponslist - List with weapons, id and cost in gui.
I have some screens so if you want see them, go here. This script requirement zcmd.

Reply
#2

nice
Reply
#3

Nice FS, Keep it Up
Reply
#4

Nice.

No prints?
Reply
#5

Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)