// Top of scriptnew carrunning[MAX_PLAYERS];// In your functioncarruning[playerid] = 1; // or 0 depending on where you are using it.