make new variable,?new bool:RaceStarted;
if(RaceStarted == true)
{
? ? ? ? ?// Spectate code
}
else if(RaceStarted == false)
{
// enter race code
}
if(RaceStarted == true)
{
? ? ? ? ?// Spectate code
}
else if(RaceStarted == false)
{
// enter race code
}