Garry's Mod
Sandbox Weapon Shop and Money System
กำลังแสดง 1-4 จาก 4 รายการ
อัปเดต: 8 ก.ย. @ 4: 10am
โดย w.black57

- Added console command and config in Shop Options: wblmoney_noammocaprestriction (1 by default) - Will disable Ammo cap restriction
- Added console command and config in Shop Options: wblmoney_noammocaponbuy (0 by default) - Will disable Ammo cap when buying ammo
- Fixed lua error when trying to buy 1 primary ammo from an unknown weapon
- Added money gain when you repair with the carpenter's hammer in the Zombie Survival Weapons & Melee mod by Shadow!


For Devs:
- Added Global functions to add or remove money (These can be actually be done using changeMoney(player,amount) function but this function does not check before deducting the player's cash):

1. Moneyadd(ply, add, seen)
ply - player that will receive the money gain
add - amount of money to add
seen - keep it true all the time

2. Moneydeduct(ply, cost, seen)
ply - player that will receive the money gain
add - amount of money to be deducted
seen - keep it true all the time
This function will return true if there is enough money on the player
If the player does not have enough money, it will return as false and will not deduct the player's cash

- w.black57 (Original Author)

อัปเดต: 6 ธ.ค. 2024 @ 3: 26pm
โดย Famous5000

Merging changes from BETA to STABLE [many bugfixes, should be stable now] (#16)

อัปเดต: 26 พ.ย. 2024 @ 9: 47pm
โดย Famous5000

Merging changes from BETA to STABLE [1 bugfix, 0 new features]

อัปเดต: 26 พ.ย. 2024 @ 9: 12pm
โดย Famous5000

Initial addon creation.