forward InPoliceCarCheck(); public OnGameModeInit() { SetTimer("InPoliceCarCheck", 100, 1); return 1; } public InPoliceCarCheck() { for (new a = 0; a < MAX_PLAYERS; a++) { if (IsPlayerConnected(a) && IsPlayerInAnyVehicle(a)) { new pveh = GetPlayerVehicleID(a); if (pveh == 523 || pveh > 595 && pveh < 600) { if (gTeam[a] == TEAM_COP) { } if (gTeam[a] != TEAM_COP) { RemovePlayerFromVehicle(a); SystemMsg(a,"[ ! ] You need to be a cop to drive this."); } } } } }