disable a script

hey, i need to disable a script from a vehicle when the player gets off, the script is not done yet, anyway gameObject.GetComponent(“TankMovementScript”).enabled = false; doesent work, it tells me enabled is not member of get componenet. if there is a fix or an other way pleas tell me. thanks

p.s both scripts are in the same game object

You should pretty much never use strings in GetComponent; that makes it return Component instead of the correct type.