Unless your ship is only 3 pixels wide by 6 pixels high then your using the SetSpriteAnimation command incorrectly.
You should be using it like this...
SetSpriteAnimation(gShip,WidthOfEachAnimationFrame,HeightOfEachAnimationFrame,TotalNumberOfAnimationFrames)
Lets say for instance you have a 512x512 sprite sheet, that has a 4x4 grid of animation frames. That would make each frame 128x128, with a total of 16 frames. Your code would look like this.
SetSpriteAnimation(gShip,128,128,16)
The SetSpriteFrame command isn't necessary as it will default to 1 anyway.
Good Luck!