F2 Hook

I’m having troubles, These hooks never seem to get called, they are in cl_init.lua:

function RP._ShowF2( ply )

return false

hook.Add(“ShowTeam”, “RP_ShowF2”, RP._ShowF2)

function RP._ShowF3( ply )

return false

hook.Add(“ShowSpare1”, “RP_ShowF3”, RP._ShowF3)

No errors, what am I doing wrong?

There’s no need to return anything.

Wouldn’t using concommands be better though? Or usermessages?

Okay, I’ll try that

[editline]17th July 2011[/editline]

Doesn’t work, my hooks arn’t even getting called

[editline]17th July 2011[/editline]

Fixed, It was running on the client by accident.