CapabilitiesAdd() help :<

Hi, i keep getting error in my scripted npc at this line “self:CapabilitiesAdd( CAP_ANIMATEDFACE | CAP_TURN_HEAD )”, without the line it runs fine. Here is the error: http://puu.sh/1RA7s and whole code:

Init.lua



AddCSLuaFile( "shared.lua" )
AddCSLuaFile( "cl_init.lua" )
include("shared.lua")


function ENT:Initialize( )
	
	self:SetModel( "models/Combine_Soldier_PrisonGuard.mdl" )
	self:SetHullType( HULL_HUMAN )
	self:SetHullSizeNormal( )
	self:SetNPCState( NPC_STATE_SCRIPT )
	self:SetSolid(  SOLID_BBOX )
	self:CapabilitiesAdd( CAP_ANIMATEDFACE | CAP_TURN_HEAD )
	self:SetUseType( SIMPLE_USE ) -- Makes the ENT.Use hook only get called once at every use.
	self:DropToFloor()
	self:Give( "weapon_shotgun" )
	self:SetMaxYawSpeed( 90 ) --Sets the angle by which an NPC can rotate at once.
	
end

function ENT:OnTakeDamage()

	return false
	
end 

function ENT:AcceptInput( Name, Activator, Caller )	

	if Name == "Use" and Caller:IsPlayer() then
		
		umsg.Start("npc_job_cop_used", Caller) -- Prepare the usermessage to that same player to open the menu on his side.
		umsg.End() -- We don't need any content in the usermessage so we're sending it empty now.
		
	end
	
end


[editline]23rd January 2013[/editline]

fixed, “self:CapabilitiesAdd( bit.bor(CAP_ANIMATEDFACE , CAP_TURN_HEAD) )” thanks to Ollie and his silly horse brain