Garry's Mod

Garry's Mod

[E2] WeaponCore
Počet komentářů: 9
Sanders 3. bře. 2024 v 9.06 
this doesnt work

@name
@inputs
@outputs
@persist
@trigger
@strict
interval(10)



E = owner()
TYPE = "Pulse Ammo"

E:plySetAmmo(TYPE,900)


i get the error sv: Expression 2 (generic): entities/gmod_wire_expression2/core/custom/weaponcore.lua:84: bad argument #2 to 'SetAmmo' (number expected, got function)


what am i doing wrong?
pfych 24. kvě. 2017 v 1.12 
Turns out I had to enable them in options....
Codingale 23. kvě. 2017 v 16.56 
You have a few functions that are restricted for no reason and do not return empty arrays.

for example, ply:getWeapons() shouldn't be restricted to admins.. nor should hasWeapon
pfych 23. kvě. 2017 v 1.15 
I am having trouble getting any commands to work, E2 says they dont exist? tips?

GreyGhost 27. led. 2016 v 19.44 
Thank you!!!!!
Link117 18. lis. 2015 v 13.04 
what does it do i am a bite confuse :squirtheh:
Jedimaster127 31. říj. 2015 v 15.34 
What does it do?
Rubicon 12. říj. 2015 v 0.37 
YES!
X 1. srp. 2015 v 23.20 
what does it do?