Garry's Mod

Garry's Mod

[E2] WeaponCore
9 kommentarer
Sanders 3 mar, 2024 @ 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 maj, 2017 @ 1:12 
Turns out I had to enable them in options....
Codingale 23 maj, 2017 @ 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 maj, 2017 @ 1:15 
I am having trouble getting any commands to work, E2 says they dont exist? tips?

GreyGhost 27 jan, 2016 @ 19:44 
Thank you!!!!!
Link117 18 nov, 2015 @ 13:04 
what does it do i am a bite confuse :squirtheh:
Jedimaster127 31 okt, 2015 @ 15:34 
What does it do?
Rubicon 12 okt, 2015 @ 0:37 
YES!
X 1 aug, 2015 @ 23:20 
what does it do?