Hey all,
Just wondering how I would make the string I call to be the lua function for SWEP:PrimaryAttack()
[lua]
function SWEP:Holster( wep )
self.Owner:SetNetworkedString("primary_fire", "self.Owner:Kill()")
end
function SWEP:PrimaryAttack()
self.Owner:GetNetworkedString(primary_fire)
end
SWEP.ViewModelFlip = false
[/lua]
Any help much appreciated
Bump
[lua]
function SWEP:PrimaryAttack()
end
function SWEP:Holster( wep )
self.PrimaryAttack = CompileString("self.Owner:Kill()","lol")
end
SWEP.ViewModelFlip = false
[/lua]
Also, do not bump threads except they are not on the first page anymore.
[QUOTE=Wizard of Ass;24542969]Also, do not bump threads except they are not on the first page anymore.[/QUOTE]
Or if it has been over 24 hours.
Thank for the reply, It worked and sorry for the bump
Sorry, you need to Log In to post a reply to this thread.