Sorry, I was too lazy. Fixed '=' syntax error.
parent
895a860506
commit
d4defe253e
|
@ -26,12 +26,11 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
usermessage.Hook("disguiserShootFX", function(um)
|
usermessage.Hook("disguiserShootFX", function(um)
|
||||||
local
|
local hitpos = um:ReadVector()
|
||||||
hitpos = um:ReadVector(),
|
local hitnormal = um:ReadVectorNormal()
|
||||||
hitnormal = um:ReadVectorNormal(),
|
local entity = um:ReadEntity()
|
||||||
entity = um:ReadEntity(),
|
local physbone = um:ReadLong()
|
||||||
physbone = um:ReadLong(),
|
local bFirstTimePredicted = um:ReadBool()
|
||||||
bFirstTimePredicted = um:ReadBool()
|
|
||||||
|
|
||||||
// Player and weapon valid?
|
// Player and weapon valid?
|
||||||
if !IsValid(LocalPlayer()) || !IsValid(LocalPlayer():GetWeapon("disguiser")) then return false end
|
if !IsValid(LocalPlayer()) || !IsValid(LocalPlayer():GetWeapon("disguiser")) then return false end
|
||||||
|
|
Loading…
Reference in New Issue