Sorry, I was too lazy. Fixed '=' syntax error.

master
Icedream 2013-12-20 23:55:54 +01:00
parent 895a860506
commit d4defe253e
1 changed files with 5 additions and 6 deletions

View File

@ -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