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