Garry's Mod

Garry's Mod

[E2] WeaponCore
9 則留言
Sanders 2024 年 3 月 3 日 上午 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 2017 年 5 月 24 日 上午 1:12 
Turns out I had to enable them in options....
Codingale 2017 年 5 月 23 日 下午 4: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 2017 年 5 月 23 日 上午 1:15 
I am having trouble getting any commands to work, E2 says they dont exist? tips?

GreyGhost 2016 年 1 月 27 日 下午 7:44 
Thank you!!!!!
Link117 2015 年 11 月 18 日 下午 1:04 
what does it do i am a bite confuse :squirtheh:
Jedimaster127 2015 年 10 月 31 日 下午 3:34 
What does it do?
Rubicon 2015 年 10 月 12 日 上午 12:37 
YES!
X 2015 年 8 月 1 日 下午 11:20 
what does it do?