public OnPlayerRequestClass(playerid, classid){ TogglePlayerSpectating(playerid, 1); return 1;}public OnPlayerSpawn(playerid){ TogglePlayerSpectating(playerid, 0); return 1;}