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