OnPlayerConnect(playerid){ TakingLive[playerid] = 0 // or whatever your value is when the player is not taking the live}