To turn on friendly fire in Counter-Strike, you either need to be a server administrator or have it set up in the server config beforehand.
If you have admin rights, change the cvar mp_friendlyfire to 1. You can also open the admin menu by typing amxmodmenu into the console.
And if you are connecting via RCON rather than the in-game admin, use this command instead:
rcon mp_friendlyfire 1
That will enable friendly fire for the server.