Missing ")". I hate how I need to debug everything on a separate server.
parent
95d24ee304
commit
5aa438d6b1
|
@ -33,7 +33,7 @@ usermessage.Hook("disguiserShootFX", function(um)
|
||||||
local bFirstTimePredicted = um:ReadBool()
|
local bFirstTimePredicted = um:ReadBool()
|
||||||
|
|
||||||
// Player and weapon valid?
|
// Player and weapon valid?
|
||||||
if !IsValid(LocalPlayer()) || !IsValid(LocalPlayer():GetWeapon()) || !IsValid(LocalPlayer():GetWeapon().DoShootEffect then return false end
|
if !IsValid(LocalPlayer()) || !IsValid(LocalPlayer():GetWeapon()) || !IsValid(LocalPlayer():GetWeapon().DoShootEffect) then return false end
|
||||||
|
|
||||||
// Render shoot effect
|
// Render shoot effect
|
||||||
LocalPlayer():GetWeapon("disguiser"):DoShootEffect(
|
LocalPlayer():GetWeapon("disguiser"):DoShootEffect(
|
||||||
|
|
Loading…
Reference in New Issue