Component.GetComponent Trouble

I followed a tutorial the Walkerboys and I got an error:
BCE0019: ‘life’ is not a member of ‘UnityEngine.Component’.

life is my var.
I copied everything from the tutorial and put this to call the variable from my Player Class “sPlayer”: other.GetComponent("sPlayer").life -= 1;

I’m also having the same error, but this time it is calling a function, under the tutorial scene manager.
I couldn’t call the function AddScore() to the bullet function (thats the projectile)

sceneManger.transform.GetComponent("sSceneManager").AddScore();

Try without the quotation marks.

Yeah, that worked perfectly. Also your script name shouldnt have any spaces, my was called “script player” and that was giving me problems.